diff options
author | Kevin Enderby <enderby@apple.com> | 2012-05-04 22:09:52 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2012-05-04 22:09:52 +0000 |
commit | cabbae653e2ab012e8e9f762892d067af786224e (patch) | |
tree | e975d616df0cb8584f25aae96d05fd7a917b0341 /llvm/lib/Target | |
parent | 8ce1ada1beb59db2a3a655f3aa9e20020f4a9a77 (diff) | |
download | bcm5719-llvm-cabbae653e2ab012e8e9f762892d067af786224e.tar.gz bcm5719-llvm-cabbae653e2ab012e8e9f762892d067af786224e.zip |
Tweak to the fix in r156212, as with the change in removing the shift the
SignExtend32<22>(Val<<1) also needs to change to SignExtend32<21>(Val) .
llvm-svn: 156213
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp b/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp index 1363b85ee5c..a2512735c28 100644 --- a/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp +++ b/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp @@ -3016,7 +3016,7 @@ static DecodeStatus DecodeThumbBROperand(MCInst &Inst, unsigned Val, static DecodeStatus DecodeT2BROperand(MCInst &Inst, unsigned Val, uint64_t Address, const void *Decoder) { - if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<22>(Val) + 4, + if (!tryAddingSymbolicOperand(Address, Address + SignExtend32<21>(Val) + 4, true, 4, Inst, Decoder)) Inst.addOperand(MCOperand::CreateImm(SignExtend32<21>(Val))); return MCDisassembler::Success; |