From 0b9c5e268f4cad1327c03b18d002b74547d2c215 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 27 Dec 2012 02:08:46 +0000 Subject: [PATCH] Add hasSideEffects=0 to CMP*rr_REV. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171130 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrArithmetic.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/X86/X86InstrArithmetic.td b/lib/Target/X86/X86InstrArithmetic.td index 6bda62879e3..693815d42f7 100644 --- a/lib/Target/X86/X86InstrArithmetic.td +++ b/lib/Target/X86/X86InstrArithmetic.td @@ -700,6 +700,7 @@ class BinOpRR_F_Rev opcode, string mnemonic, X86TypeInfo typeinfo> mnemonic, "{$src2, $src1|$src1, $src2}", [], IIC_BIN_NONMEM> { // The disassembler should know about this, but not the asmparser. let isCodeGenOnly = 1; + let hasSideEffects = 0; } // BinOpRM - Instructions like "add reg, reg, [mem]".