[PATCH] D111007: [TwoAddressInstruction] Enable machine verification after this pass

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 12:07:55 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG27c57e791a0a: [TwoAddressInstruction] Enable machine verification after this pass (authored by foad).

Changed prior to commit:
  https://reviews.llvm.org/D111007?vs=376745&id=377957#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111007/new/

https://reviews.llvm.org/D111007

Files:
  llvm/lib/CodeGen/TargetPassConfig.cpp


Index: llvm/lib/CodeGen/TargetPassConfig.cpp
===================================================================
--- llvm/lib/CodeGen/TargetPassConfig.cpp
+++ llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -1418,7 +1418,7 @@
 /// register allocation. No coalescing or scheduling.
 void TargetPassConfig::addFastRegAlloc() {
   addPass(&PHIEliminationID);
-  addPass(&TwoAddressInstructionPassID, false);
+  addPass(&TwoAddressInstructionPassID);
 
   addRegAssignAndRewriteFast();
 }
@@ -1452,7 +1452,7 @@
   if (EarlyLiveIntervals)
     addPass(&LiveIntervalsID);
 
-  addPass(&TwoAddressInstructionPassID, false);
+  addPass(&TwoAddressInstructionPassID);
   addPass(&RegisterCoalescerID);
 
   // The machine scheduler may accidentally create disconnected components


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111007.377957.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/e0f06661/attachment.bin>


More information about the llvm-commits mailing list