[PATCH] D22850: AVX-512: Removed AssertZext node before TRUNCATE
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 11:37:23 PDT 2016
eli.friedman accepted this revision.
eli.friedman added a comment.
This revision is now accepted and ready to land.
LGTM... with the caveat that I'm not sure I completely understand how the AVX-512 boolean registers work.
================
Comment at: ../lib/Target/X86/X86InstrAVX512.td:2133
@@ +2132,3 @@
+ dyn_cast<ConstantSDNode>(N->getOperand(0)->getOperand(1)) &&
+ N->getOperand(0)->getConstantOperandVal(1) == 1));
+}]>;
----------------
Maybe you could match this with patterns rather than C++ code?
Repository:
rL LLVM
https://reviews.llvm.org/D22850
More information about the llvm-commits
mailing list