[llvm] [AArch64] Optimized generated assembly for bool to svbool_t conversions (PR #83001)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 03:55:25 PST 2024


================
@@ -269,13 +269,15 @@ static bool isMergePassthruOpcode(unsigned Opc) {
 
 // Returns true if inactive lanes are known to be zeroed by construction.
 static bool isZeroingInactiveLanes(SDValue Op) {
+  // Skip bitcasts nodes
+  while (Op->getOpcode() == ISD::BITCAST)
+    Op = Op->getOperand(0);
+    
----------------
Lukacma wrote:

I will remove that then

https://github.com/llvm/llvm-project/pull/83001


More information about the llvm-commits mailing list