mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +00:00
CodeGen: Avoid implicit conversion in MachineInstrBuilder, NFC
Avoid another implicit conversion from MachineInstrBundleIterator to MachineInstr*, this time in MachineInstrBuilder.h (this is in pursuit of PR26753). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e71d87d7c6
commit
6667d85d09
@ -438,9 +438,9 @@ public:
|
||||
assert(B != E && "No instructions to bundle");
|
||||
++B;
|
||||
while (B != E) {
|
||||
MachineInstr *MI = B;
|
||||
MachineInstr &MI = *B;
|
||||
++B;
|
||||
MI->bundleWithPred();
|
||||
MI.bundleWithPred();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user