[PATCH] D141782: [X86] Don't fold select for vXi1 on X86 target.

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 15 04:16:55 PST 2023


pengfei added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:34856
     return false;
+  if (!VT.isSimple())
+    return false;
----------------
Should be better to use `isTypeLegal(VT)`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141782



More information about the llvm-commits mailing list