Fix a logic error that caused non-rematable loop invariants loads to be licm'ed out...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 9 Oct 2009 06:21:52 +0000 (06:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 9 Oct 2009 06:21:52 +0000 (06:21 +0000)
commit3dc326ba83c8fc9a47f1cb9968ff15ba73913ce8
tree0b3292567b32ebe775b5107d89bb71c4007938e7
parent6ee62f8126be50d4936c6b6278bb0efb3b581cd2
Fix a logic error that caused non-rematable loop invariants loads to be licm'ed out of loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83622 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineLICM.cpp
test/CodeGen/X86/2009-10-08-MachineLICMBug.ll [new file with mode: 0644]