diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-19 01:36:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-19 01:36:39 +0000 |
commit | dcfa73fe3cf9b67573b188424477bc22ed900adf (patch) | |
tree | d2074baf0ca7aeb50d99b675797ecf179f20e385 | |
parent | a3ca3149f2b59c512c50aab330b5a0d8efddeffa (diff) | |
download | external_llvm-dcfa73fe3cf9b67573b188424477bc22ed900adf.zip external_llvm-dcfa73fe3cf9b67573b188424477bc22ed900adf.tar.gz external_llvm-dcfa73fe3cf9b67573b188424477bc22ed900adf.tar.bz2 |
Set CCR (EFLAGS) copy cost to -1, i.e. extremely expensive to copy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42124 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.td b/lib/Target/X86/X86RegisterInfo.td index 0d20b59..d8bbbd5 100644 --- 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. +} |