[llvm] [AArch64] Combine truncate(buildvector) -> buildvector (PR #223787)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 00:53:34 PDT 2026


================
@@ -23992,6 +23992,13 @@ static SDValue performTruncateCombine(SDNode *N, SelectionDAG &DAG,
     return DAG.getExtractVectorElt(DL, VT, Op, ExtractIndex * 2);
   }
 
+  // truncate(buildvector) -> buildvector if we still have it late in the
----------------
sjoerdmeijer wrote:

Nit: maybe rephrase "if we still have it late"?

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


More information about the llvm-commits mailing list