[SimplifyCFG] Account for N being null.
authorFlorian Hahn <flo@fhahn.com>
Sat, 7 Dec 2019 17:22:14 +0000 (17:22 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 7 Dec 2019 17:23:42 +0000 (17:23 +0000)
commitc25de56905b104fb2b90559ce5863f4fec93a974
treed9afd2a7dd4255e23f3c7d478cf99c6f1da8ef9a
parent5ea611daf9cb51ba3d6492e50a6b568348fb62c0
[SimplifyCFG] Account for N being null.

Fixes a crash, e.g.
  http://lab.llvm.org:8011/builders/clang-with-lto-ubuntu/builds/15119/
llvm/lib/Transforms/Utils/SimplifyCFG.cpp