diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-05-01 12:28:21 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-05-01 12:28:21 +0000 |
commit | 1b17614a7283f903363f7c4305da6ea742d3d28b (patch) | |
tree | e45dca2414bd69e74eb96fa684b66de5e11784a6 /lib/Target/MSP430/MSP430BranchSelector.cpp | |
parent | 69d5b48bc31b7a443355cdf1506005804b4f63e6 (diff) | |
download | llvm-1b17614a7283f903363f7c4305da6ea742d3d28b.tar.gz llvm-1b17614a7283f903363f7c4305da6ea742d3d28b.tar.bz2 llvm-1b17614a7283f903363f7c4305da6ea742d3d28b.tar.xz |
Do folding for indirect branches, where possible
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430BranchSelector.cpp')
-rw-r--r-- | lib/Target/MSP430/MSP430BranchSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/MSP430BranchSelector.cpp b/lib/Target/MSP430/MSP430BranchSelector.cpp index 836e4250ab..68cb342b08 100644 --- a/lib/Target/MSP430/MSP430BranchSelector.cpp +++ b/lib/Target/MSP430/MSP430BranchSelector.cpp @@ -157,7 +157,7 @@ bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) { NewSize = 6; } // Uncond branch to the real destination. - I = BuildMI(MBB, I, dl, TII->get(MSP430::B)).addMBB(Dest); + I = BuildMI(MBB, I, dl, TII->get(MSP430::Bi)).addMBB(Dest); // Remove the old branch from the function. OldBranch->eraseFromParent(); |