commit | 4b54cd2daac13905725cdf23c82fa2ec7252a2c4 | [log] [tgz] |
---|---|---|
author | Anton Korobeynikov <asl@math.spbu.ru> | Sat May 01 12:28:21 2010 +0000 |
committer | Anton Korobeynikov <asl@math.spbu.ru> | Sat May 01 12:28:21 2010 +0000 |
tree | e45dca2414bd69e74eb96fa684b66de5e11784a6 | |
parent | daa2d64ce820b91ea53cccb149cce9d598b96c15 [diff] [blame] |
Do folding for indirect branches, where possible git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102836 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/MSP430/MSP430BranchSelector.cpp b/lib/Target/MSP430/MSP430BranchSelector.cpp index 836e425..68cb342 100644 --- a/lib/Target/MSP430/MSP430BranchSelector.cpp +++ b/lib/Target/MSP430/MSP430BranchSelector.cpp
@@ -157,7 +157,7 @@ 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();