aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index 36e2156..8d94b40 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -1837,8 +1837,7 @@ bool TwoAddressInstructionImpl::run() {
MRI->leaveSSA();
// This pass will rewrite the tied-def to meet the RegConstraint.
- MF->getProperties()
- .set(MachineFunctionProperties::Property::TiedOpsRewritten);
+ MF->getProperties().setTiedOpsRewritten();
TiedOperandMap TiedOperands;
for (MachineBasicBlock &MBBI : *MF) {