[llvm] [Intrinsics][AArch64] Add intrinsic to mask off aliasing vector lanes (PR #117007)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 03:19:37 PDT 2025


================
@@ -2095,6 +2106,10 @@ bool DAGTypeLegalizer::PromoteIntegerOperand(SDNode *N, unsigned OpNo) {
   case ISD::PARTIAL_REDUCE_SMLA:
     Res = PromoteIntOp_PARTIAL_REDUCE_MLA(N);
     break;
+  case ISD::LOOP_DEPENDENCE_RAW_MASK:
+  case ISD::LOOP_DEPENDENCE_WAR_MASK:
+    Res = PromoteIntOp_LOOP_DEPENDENCE_MASK(N, OpNo);
----------------
sdesmalen-arm wrote:

Is this case ever possible? i.e. the inputs are required to be two pointers of type `ptr` (which must be legal) and an immediate. If not, then I think this code can be removed.

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


More information about the llvm-commits mailing list