fix a bug I introduced in r115669, which ended up with MOV64mr_TC
authorChris Lattner <sabre@nondot.org>
Tue, 5 Oct 2010 22:16:48 +0000 (22:16 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 5 Oct 2010 22:16:48 +0000 (22:16 +0000)
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

lib/Target/X86/X86InstrInfo.td

index e5ba20615dc39b0bf1542da57453cc8f5b20a5c0..c1e15e465b995e42619e11d5bf3cef3db5cd2450 100644 (file)
@@ -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