mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 16:04:33 +00:00
It's not necessary to recompute EB here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
488d4421c6
commit
d0d8275cb2
@ -196,7 +196,7 @@ void FunctionLoweringInfo::set(Function &fn, MachineFunction &mf,
|
||||
// Create an initial MachineBasicBlock for each LLVM BasicBlock in F. This
|
||||
// also creates the initial PHI MachineInstrs, though none of the input
|
||||
// operands are populated.
|
||||
for (BB = Fn->begin(), EB = Fn->end(); BB != EB; ++BB) {
|
||||
for (BB = Fn->begin(); BB != EB; ++BB) {
|
||||
MachineBasicBlock *MBB = mf.CreateMachineBasicBlock(BB);
|
||||
MBBMap[BB] = MBB;
|
||||
MF->push_back(MBB);
|
||||
|
Loading…
Reference in New Issue
Block a user