The support for remat of instructions with a register operand is hackish, to say...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 31 Mar 2008 07:53:30 +0000 (07:53 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 31 Mar 2008 07:53:30 +0000 (07:53 +0000)
commit24d2f8a212f08bf21360122cc00acf2657af91f9
tree251069a4eef5bd4e7b5bf85be24dfd53d8cd2294
parent87a3b68bf701530b9dd9d181907542048dfae681
The support for remat of instructions with a register operand is hackish, to say the least. Since the register operand guaranteed to be PIC base and that it is already live at all uses, we are making sure it will not be spilled after its uses are rematerialized for both performance and correctness reasons.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48976 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp