Fix a copy-pasto. When the tBR_JTr instruction was converted to using the

tPseudoInst class, its size was changed from "special" to "2 bytes". This is
incorrect because the jump table will no longer be taken into account when
calculating branch offsets.
<rdar://problem/8782216>

llvm-svn: 122303
This commit is contained in:
Bill Wendling 2010-12-21 01:57:15 +00:00
parent 18581a4ac0
commit cdcc4fc048
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ let isBranch = 1, isTerminator = 1, isBarrier = 1 in {
def tBR_JTr : tPseudoInst<(outs),
(ins tGPR:$target, i32imm:$jt, i32imm:$id),
Size2Bytes, IIC_Br,
SizeSpecial, IIC_Br,
[(ARMbrjt tGPR:$target, tjumptable:$jt, imm:$id)]> {
list<Predicate> Predicates = [IsThumb, IsThumb1Only];
}