Do not call Loop::getName on possibly dead loops
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 4 Oct 2017 22:02:27 +0000 (22:02 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 4 Oct 2017 22:02:27 +0000 (22:02 +0000)
commit005b88c0a65c29fc3b4062d4413db0b78d56693e
tree712f0c5e44b5d14e978050d35f3874765ba7d8b1
parentd8d97972de792443f6b336ed6d13cf2e5b65151e
Do not call Loop::getName on possibly dead loops

This fixes PR34832.

llvm-svn: 314938
llvm/lib/Analysis/LoopAnalysisManager.cpp
llvm/test/Other/loop-pm-invalidation.ll