aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-05 22:16:48 +0000
committerChris Lattner <sabre@nondot.org>2010-10-05 22:16:48 +0000
commite583c892d8e274cdec17c125b023e2e976df5737 (patch)
tree60fabb2d49ed22836cb327aed9bd990a5b9dc588 /lib/Target
parentb484213d1bde97b6a66969bef64d00530a05c12c (diff)
downloadexternal_llvm-e583c892d8e274cdec17c125b023e2e976df5737.zip
external_llvm-e583c892d8e274cdec17c125b023e2e976df5737.tar.gz
external_llvm-e583c892d8e274cdec17c125b023e2e976df5737.tar.bz2
fix a bug I introduced in r115669, which ended up with MOV64mr_TC
not getting marked as mayStore. This fixes llvm-gcc bootstrap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86InstrInfo.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index e5ba206..c1e15e4 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -897,7 +897,7 @@ def MOV64rm_TC : RI<0x8B, MRMSrcMem, (outs GR64_TC:$dst), (ins i64mem_TC:$src),
[]>;
}
-let mayStore = 1 in
+let mayStore = 1 in {
def MOV32mr_TC : I<0x89, MRMDestMem, (outs), (ins i32mem_TC:$dst, GR32_TC:$src),
"mov{l}\t{$src, $dst|$dst, $src}",
[]>;
@@ -905,6 +905,7 @@ def MOV64mr_TC : RI<0x89, MRMDestMem, (outs), (ins i64mem_TC:$dst, GR64_TC:$src)
"mov{q}\t{$src, $dst|$dst, $src}",
[]>;
}
+} // isCodeGenOnly
// Versions of MOV8rr, MOV8mr, and MOV8rm that use i8mem_NOREX and GR8_NOREX so
// that they can be used for copying and storing h registers, which can't be