File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 26
26
#include " llvm/ADT/DenseMap.h"
27
27
#include " llvm/ADT/SmallVector.h"
28
28
#include " llvm/ADT/StringRef.h"
29
- #include " llvm/CodeGen/LivePhysRegs .h"
29
+ #include " llvm/CodeGen/LiveRegUnits .h"
30
30
#include " llvm/CodeGen/MachineBasicBlock.h"
31
31
#include " llvm/CodeGen/MachineFunction.h"
32
32
#include " llvm/CodeGen/MachineFunctionPass.h"
@@ -346,11 +346,11 @@ bool HexagonGenMux::genMuxInBlock(MachineBasicBlock &B) {
346
346
347
347
// Fix up kill flags.
348
348
349
- LivePhysRegs LPR (*HRI);
349
+ LiveRegUnits LPR (*HRI);
350
350
LPR.addLiveOuts (B);
351
351
auto IsLive = [&LPR, this ](unsigned Reg) -> bool {
352
352
for (MCPhysReg S : HRI->subregs_inclusive (Reg))
353
- if (LPR.contains (S))
353
+ if (! LPR.available (S))
354
354
return true ;
355
355
return false ;
356
356
};
You can’t perform that action at this time.
0 commit comments