[PATCH] D145301: Add more efficient vector bitcast for AArch64

Markus Everling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 06:49:07 PDT 2023


Sp00ph added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:19484
+  unsigned Opcode = Op.getOpcode();
+  if (Opcode == ISD::OR || Opcode == ISD::AND)
+    return isChainOfComparesAndLogicalOps(Op.getOperand(0), BaseVT,
----------------
There's probably quite a few more operations that preserve the mask property (xor, min and max come to mind).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145301



More information about the llvm-commits mailing list