[llvm] [SDAG] Promote extract subvector in more cases without falling back to build vectors. (PR #212156)

Usman Nadeem via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 23:21:57 PDT 2026


================
@@ -6138,11 +6138,70 @@ SDValue DAGTypeLegalizer::PromoteIntRes_EXTRACT_SUBVECTOR(SDNode *N) {
   if (OutVT.isScalableVector())
     report_fatal_error("Unable to promote scalable types using BUILD_VECTOR");
 
----------------
UsmanNadeem wrote:

Will later merge with the similar scalable code above.

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


More information about the llvm-commits mailing list