summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-03 23:13:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-03 23:13:34 +0000
commitb376ce01695ae22a8cbbde111377375cb9d4344e (patch)
treec6685f3a614cb28529db09d62c3f46ef6eb8c998 /llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
parent2c76d6dcea7f7cc6e9b9291d549f0a69bf7bb0d5 (diff)
downloadbcm5719-llvm-b376ce01695ae22a8cbbde111377375cb9d4344e.tar.gz
bcm5719-llvm-b376ce01695ae22a8cbbde111377375cb9d4344e.zip
Fix t2Int_eh_sjlj_setjmp. Immediate form of orr is a 32-bit instruction. So it should be 22 bytes instead of 20 bytes long.
llvm-svn: 85965
Diffstat (limited to 'llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
index c9b939de03d..7c5b0f0bd83 100644
--- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -448,7 +448,7 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
case ARM::Int_eh_sjlj_setjmp:
return 24;
case ARM::t2Int_eh_sjlj_setjmp:
- return 20;
+ return 22;
case ARM::BR_JTr:
case ARM::BR_JTm:
case ARM::BR_JTadd:
OpenPOWER on IntegriCloud