Use MRI::isConstantPhysReg() to check remat feasibility.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 22 Jun 2012 17:31:01 +0000 (17:31 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 22 Jun 2012 17:31:01 +0000 (17:31 +0000)
commit834a9cdbb78c1a16c8ceecb018a324a3ba31c365
treea71998d5032ca227226e400bc7ceea0d2bcd29a2
parent35ac4b0c45dba62f59ebceddd6cd4605a27857f8
Use MRI::isConstantPhysReg() to check remat feasibility.

Don't depend on LiveIntervals::hasInterval() to determine if a physreg
is reserved and constant.

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