make sure to set Changed=true when instcombine hacks on the code,
authorChris Lattner <sabre@nondot.org>
Sat, 31 Jan 2009 07:04:22 +0000 (07:04 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 31 Jan 2009 07:04:22 +0000 (07:04 +0000)
commit1e19d603e08fb5ceef8096f3833d53adc339744f
treea23aaa11b0a126ca08f69c5404be5e9cfe939646
parent95be699a9aaa04abc01b71534d3a4633c228d091
make sure to set Changed=true when instcombine hacks on the code,
not doing so prevents it from properly iterating and prevents it
from deleting the entire body of dce-iterate.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/dce-iterate.ll [new file with mode: 0644]