Re-enable register pressure aware machine licm with fixes. Hoist() may have
authorEvan Cheng <evan.cheng@apple.com>
Tue, 19 Oct 2010 18:58:51 +0000 (18:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 19 Oct 2010 18:58:51 +0000 (18:58 +0000)
commit2312842de0c641107dd04d7e056d02491cc781ca
tree95cb951c694a628d7bc9bac370b2fd929dd343d5
parent9cb4c7f87876ec8212bd4fae059553fcaa83f484
Re-enable register pressure aware machine licm with fixes. Hoist() may have
erased the instruction during LICM so UpdateRegPressureAfter() should not
reference it afterwards.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116845 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/MachineLICM.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.h
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
test/CodeGen/ARM/remat.ll [deleted file]
test/CodeGen/Thumb2/machine-licm-vdup.ll
test/CodeGen/X86/2008-10-27-CoalescerBug.ll
test/CodeGen/X86/2009-02-26-MachineLICMBug.ll