summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-24 22:34:23 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-24 22:34:23 +0000
commite41fc73f088ca987a87f0bf98afef3584a5e51c4 (patch)
tree68219a1ebe156df6f5dd3c1a09d94bbfb55edab0 /llvm/lib/Support/ConstantRange.cpp
parenta573b2201583d2952fa9b43fbbdc66425e26548a (diff)
downloadbcm5719-llvm-e41fc73f088ca987a87f0bf98afef3584a5e51c4.tar.gz
bcm5719-llvm-e41fc73f088ca987a87f0bf98afef3584a5e51c4.zip
Don't add the instruction about to be RAUW'ed and erased to the
worklist. This can happen in theory when an instruction uses itself, such as a PHI node. This was spotted by inspection, and unfortunately I've not been able to come up with a test case that would trigger it. If anyone has ideas, let me know... llvm-svn: 153396
Diffstat (limited to 'llvm/lib/Support/ConstantRange.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud