[PATCH] D60562: [X86][AVX] X86ISD::PERMV/PERMV3 node types can never fold index ops

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 23:06:04 PDT 2019


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:7575
+      return false;
+    else if (Opc == X86ISD::VPERMV3 && U->getOperand(1).getNode() == N)
+      return false;
----------------
Drop the elses after the returns?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60562





More information about the llvm-commits mailing list