summaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InitUndef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/InitUndef.cpp')
-rw-r--r--llvm/lib/CodeGen/InitUndef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InitUndef.cpp b/llvm/lib/CodeGen/InitUndef.cpp
index 96ac385b6abf..51c50ff872ef 100644
--- a/llvm/lib/CodeGen/InitUndef.cpp
+++ b/llvm/lib/CodeGen/InitUndef.cpp
@@ -238,7 +238,7 @@ bool InitUndef::processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB,
}
if (isEarlyClobberMI(MI)) {
- if (ST->enableSubRegLiveness())
+ if (MRI->subRegLivenessEnabled())
Changed |= handleSubReg(MF, MI, DLD);
Changed |= handleReg(&MI);
}