From: Tim Northover Date: Thu, 14 Feb 2013 16:31:12 +0000 (+0000) Subject: AArch64: switch from neverHasSideEffects to hasSideEffects. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ad1b9dcb2c9f1a1a031ff5d026bd988999a54c4b;p=oota-llvm.git AArch64: switch from neverHasSideEffects to hasSideEffects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175176 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64InstrInfo.td b/lib/Target/AArch64/AArch64InstrInfo.td index d514364e1b9..bdef183d1a6 100644 --- a/lib/Target/AArch64/AArch64InstrInfo.td +++ b/lib/Target/AArch64/AArch64InstrInfo.td @@ -1651,7 +1651,7 @@ class A64I_dp_1src_impl opcode, string asmop, itin>; multiclass A64I_dp_1src opcode, string asmop> { - let neverHasSideEffects = 1 in { + let hasSideEffects = 0 in { def ww : A64I_dp_1src_impl<0b0, opcode, asmop, [], GPR32, NoItinerary>; def xx : A64I_dp_1src_impl<0b1, opcode, asmop, [], GPR64, NoItinerary>; } @@ -3907,7 +3907,7 @@ multiclass A64I_movwSizes opc, string asmop, dag ins32bit, } let isMoveImm = 1, isReMaterializable = 1, - isAsCheapAsAMove = 1, neverHasSideEffects = 1 in { + isAsCheapAsAMove = 1, hasSideEffects = 0 in { defm MOVN : A64I_movwSizes<0b00, "movn", (ins movn32_imm:$FullImm), (ins movn64_imm:$FullImm)>; @@ -3993,7 +3993,7 @@ def adrp_label : Operand { let OperandType = "OPERAND_PCREL"; } -let neverHasSideEffects = 1 in { +let hasSideEffects = 0 in { def ADRxi : A64I_PCADR<0b0, (outs GPR64:$Rd), (ins adr_label:$Label), "adr\t$Rd, $Label", [], NoItinerary>; @@ -4576,7 +4576,7 @@ def cpinst_operand : Operand; def CONSTPOOL_ENTRY : PseudoInst<(outs), (ins cpinst_operand:$instid, cpinst_operand:$cpidx, i32imm:$size), []> { - let neverHasSideEffects = 1; + let hasSideEffects = 0; let isNotDuplicable = 1; }