[PATCH] D81548: [X86][AVX512] Avoid bitcasts between scalar and vXi1 bool vectors

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 14:28:52 PDT 2020


RKSimon marked an inline comment as done.
RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:37953
+  case ISD::SHL: {
+    // If we find a suitable source, a SHL becomes a KSHIFTR (little endian).
+    SDValue Src0 = V.getOperand(0);
----------------
craig.topper wrote:
> Why does a SHL become KSHIFTR?
It should be KSHIFTL, sorry about that


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81548





More information about the llvm-commits mailing list