projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3a9805f
)
Make another kill check LiveIntervals-aware.
author
Cameron Zwarich
<zwarich@apple.com>
Thu, 21 Feb 2013 07:02:30 +0000
(07:02 +0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Thu, 21 Feb 2013 07:02:30 +0000
(07:02 +0000)
This brings the number of remaining failures in 'make check' without
LiveVariables down to 39, with 1 unexpectedly passing test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175727
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TwoAddressInstructionPass.cpp
b/lib/CodeGen/TwoAddressInstructionPass.cpp
index 8d242ec51a171e2303a50d6440fc39b71d10e1b7..e0dba3f291683505b4ab812517640a6fddbbe894 100644
(file)
--- a/
lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/
lib/CodeGen/TwoAddressInstructionPass.cpp
@@
-499,7
+499,7
@@
isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC,
// insert => %reg1030<def> = MOV8rr %reg1029
// %reg1030<def> = ADD8rr %reg1029<kill>, %reg1028<kill>, %EFLAGS<imp-def,dead>
- if (!
MI->killsRegister(regC
))
+ if (!
isPlainlyKilled(MI, regC, LIS
))
return false;
// Ok, we have something like: