projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ca314
)
Set CCR (EFLAGS) copy cost to -1, i.e. extremely expensive to copy.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 19 Sep 2007 01:36:39 +0000
(
01:36
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 19 Sep 2007 01:36:39 +0000
(
01:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42124
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86RegisterInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86RegisterInfo.td
b/lib/Target/X86/X86RegisterInfo.td
index 0d20b59ee01d8cb2f755e3f075de8f4520e74d7e..d8bbbd574b4c01ee2aabe5d38b414e51b64978da 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.td
+++ b/
lib/Target/X86/X86RegisterInfo.td
@@
-521,4
+521,6
@@
def VR128 : RegisterClass<"X86", [v16i8, v8i16, v4i32, v2i64, v4f32, v2f64],128,
}
// Status flags registers.
-def CCR : RegisterClass<"X86", [i32], 32, [EFLAGS]>;
+def CCR : RegisterClass<"X86", [i32], 32, [EFLAGS]> {
+ let CopyCost = -1; // Don't allow copying of status registers.
+}