s tightens up the encoding description for ARM post-indexed ldr instructions. All...
authorMihai Popa <mihail.popa@gmail.com>
Tue, 30 Apr 2013 09:00:12 +0000 (09:00 +0000)
committerMihai Popa <mihail.popa@gmail.com>
Tue, 30 Apr 2013 09:00:12 +0000 (09:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180778 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td
test/MC/Disassembler/ARM/invalid-LDR_POST-arm.txt

index 5d5380f34c92bd4939341e00a2dc6f801d7f9a91..1bd174e341621b89f8f1897d175670afe7489742 100644 (file)
@@ -2313,6 +2313,7 @@ multiclass AI2_ldridx<bit isByte, string opc,
      let Inst{23} = offset{12};
      let Inst{19-16} = addr;
      let Inst{11-0} = offset{11-0};
+     let Inst{4} = 0;
 
     let DecoderMethod = "DecodeAddrMode2IdxInstruction";
    }
index 0cff28ad2b2b0d2906907d962b63b351cb151936..ecab5a5758e214f6ff63e2ed9469cfd24dce5052 100644 (file)
@@ -1,5 +1,4 @@
 # RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | grep "invalid instruction encoding"
-# XFAIL: *
 
 # LDR_PRE/POST has encoding Inst{4} = 0.
 0xde 0x69 0x18 0x46