[PATCH] D18427: CodeGen: Add DetectDeadLanes pass.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 16:45:27 PDT 2016
qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: lib/CodeGen/DetectDeadLanes.cpp:254
@@ +253,3 @@
+ unsigned SubIdx = MI.getOperand(2).getImm();
+ assert(OpNum == 1 && "EXTRACT_SUBREG must have one register operand only");
+ DefinedLanes = TRI->reverseComposeSubRegIndexLaneMask(SubIdx, DefinedLanes);
----------------
Great, that is the information I was looking for :).
Add a comment in runOnMachineFunction when we skip the pass to know why it is not run.
Repository:
rL LLVM
http://reviews.llvm.org/D18427
More information about the llvm-commits
mailing list