[PATCH] D156855: [X86] Special handle for v1i1 during ExtractBitFromMaskVector

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 03:23:07 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:20563
+    return DAG.getNode(ISD::TRUNCATE, dl, EltVT, DAG.getBitcast(MVT::i16, Vec));
+  }
 
----------------
Why not put this inside the (!IdxC) if-block above?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156855



More information about the llvm-commits mailing list