forked from OSchip/llvm-project
s tightens up the encoding description for ARM post-indexed ldr instructions. All instructions in this class have bit 4 cleared. It turns out that there is a test case for this, but it was marked XFAIL.
llvm-svn: 180778
This commit is contained in:
parent
8d048d0482
commit
af22d91af0
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue