diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-12-26 21:30:22 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-12-26 21:30:22 +0000 |
commit | 37cb8398c8d5043f395a6c76d7591301b2efe196 (patch) | |
tree | 789118ca72944f8438bb03ba5aecd5df12c8018c /lib/Target/X86/X86InstrArithmetic.td | |
parent | a85cbfeba79263a6afc5543de21a5cea83dcfa9e (diff) |
Mark all the _REV instructions as not having side effects. They aren't really emitted by the backend, but it reduces the number of instructions in the output files with unmodelled side effects to make auditing easier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrArithmetic.td')
-rw-r--r-- | lib/Target/X86/X86InstrArithmetic.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrArithmetic.td b/lib/Target/X86/X86InstrArithmetic.td index 478c42d657..874b9aae09 100644 --- a/lib/Target/X86/X86InstrArithmetic.td +++ b/lib/Target/X86/X86InstrArithmetic.td @@ -690,6 +690,7 @@ class BinOpRR_Rev<bits<8> opcode, string mnemonic, X86TypeInfo typeinfo> mnemonic, "{$src2, $dst|$dst, $src2}", [], IIC_BIN_NONMEM> { // The disassembler should know about this, but not the asmparser. let isCodeGenOnly = 1; + let hasSideEffects = 0; } // BinOpRR_F_Rev - Instructions like "cmp reg, reg" (reversed encoding). |