Skip to content

Commit 28286f8

Browse files
committed
fixup! Use Register::asMCReg
1 parent f4180db commit 28286f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ unsigned AggressiveAntiDepBreaker::BreakAntiDependencies(
829829
if ((Edge->getKind() != SDep::Anti) &&
830830
(Edge->getKind() != SDep::Output)) continue;
831831

832-
MCRegister AntiDepReg = MCRegister::from(Edge->getReg());
832+
MCRegister AntiDepReg = Edge->getReg().asMCReg();
833833
LLVM_DEBUG(dbgs() << "\tAntidep reg: " << printReg(AntiDepReg, TRI));
834834
assert(AntiDepReg && "Anti-dependence on reg0?");
835835

0 commit comments

Comments
 (0)