projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d447f5
)
Forgot to update this.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 25 Jan 2007 23:31:04 +0000
(23:31 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 25 Jan 2007 23:31:04 +0000
(23:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33512
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMConstantIslandPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMConstantIslandPass.cpp
b/lib/Target/ARM/ARMConstantIslandPass.cpp
index b779093f992883d7bcb78a174eca77d7429d346d..db30428d96ec2400bf521231c302289c22f96c94 100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-613,7
+613,7
@@
ARMConstantIslands::FixUpImmediateBranch(MachineFunction &Fn, ImmBranch &Br) {
Br.MI = &MBB->back();
BuildMI(MBB, TII->get(Br.UncondBr)).addMBB(DestBB);
unsigned MaxDisp = (Br.UncondBr == ARM::tB) ? (1<<10)*2 : (1<<23)*4;
- ImmBranches.push_back(ImmBranch(&MBB->back(),
false, Br.UncondBr, MaxDisp
));
+ ImmBranches.push_back(ImmBranch(&MBB->back(),
MaxDisp, false, Br.UncondBr
));
MI->eraseFromParent();
// Increase the size of MBB to account for the new unconditional branch.