[PATCH] D59626: Add MachineDCE pass after RenameIndependentSubregs

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 4 10:57:38 PDT 2019


qcolombet added inline comments.


================
Comment at: lib/CodeGen/DeadMachineInstructionElim.cpp:120
+  if (LIS && !MRI->subRegLivenessEnabled())
+    return false;
 
----------------
I feel that the pass shouldn't be making that decision.
If someone put that in their pipeline, the pass should just run.


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

https://reviews.llvm.org/D59626





More information about the llvm-commits mailing list