summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit907d86db226afc7bf08e38677c482dff046c37f0 (patch)
tree05a21aa932dfbea16014469e877570dcf33be613 /llvm/lib
parentc3a767e9b0b8ec9bb943e287703eb4d40590727f (diff)
downloadbcm5719-llvm-907d86db226afc7bf08e38677c482dff046c37f0.tar.gz
bcm5719-llvm-907d86db226afc7bf08e38677c482dff046c37f0.zip
fix a bug I introduced in r115669, which ended up with MOV64mr_TC
not getting marked as mayStore. This fixes llvm-gcc bootstrap. llvm-svn: 115693
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index e5ba20615dc..c1e15e465b9 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/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
OpenPOWER on IntegriCloud