From 10bf734e6e0b5aba79dc199d611dcdec54a1e48e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 9 Sep 2009 23:55:03 +0000 Subject: [PATCH] Fix double load / store multiple encoding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81403 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMCodeEmitter.cpp | 2 +- lib/Target/ARM/ARMInstrFormats.td | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index 37e2cfc09de..d6092fa127f 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp @@ -949,7 +949,7 @@ static unsigned getAddrModeUPBits(unsigned Mode) { // DB - Decrement before - bit U = 0 and bit P = 1 switch (Mode) { default: llvm_unreachable("Unknown addressing sub-mode!"); - case ARM_AM::da: break; + case ARM_AM::da: break; case ARM_AM::db: Binary |= 0x1 << ARMII::P_BitShift; break; case ARM_AM::ia: Binary |= 0x1 << ARMII::U_BitShift; break; case ARM_AM::ib: Binary |= 0x3 << ARMII::U_BitShift; break; diff --git a/lib/Target/ARM/ARMInstrFormats.td b/lib/Target/ARM/ARMInstrFormats.td index 62e64dbc0f2..5388197c3be 100644 --- a/lib/Target/ARM/ARMInstrFormats.td +++ b/lib/Target/ARM/ARMInstrFormats.td @@ -1070,7 +1070,7 @@ class ASI5 opcod1, bits<2> opcod2, dag oops, dag iops, } // Load / store multiple -class AXSI5 pattern> : VFPXI { @@ -1079,7 +1079,7 @@ class AXSI5 pattern> : VFPXI { @@ -1088,7 +1088,6 @@ class AXDI5 opcod1, bits<4> opcod2, bits<4> opcod3, dag oops, dag iops, InstrItinClass itin, string opc, string asm, list pattern> -- 2.11.0