[llvm] Support non-constant `G_BUILD_VECTOR` in X86. (PR #182502)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 08:25:16 PDT 2026


================
@@ -0,0 +1,48 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+# RUN: llc -mtriple=x86_64-linux-gnux32 -mattr=sse2    -run-pass=legalizer -global-isel-abort=1 -pass-remarks-missed='gisel*' %s -o -  | FileCheck %s --check-prefixes=SSE2
+# RUN: llc -mtriple=x86_64-linux-gnux32 -mattr=sse4.1  -run-pass=legalizer -global-isel-abort=1 -pass-remarks-missed='gisel*' %s -o -  | FileCheck %s --check-prefixes=SSE41
+# RUN: llc -mtriple=x86_64-linux-gnux32 -mattr=avx     -run-pass=legalizer -global-isel-abort=1 -pass-remarks-missed='gisel*' %s -o -  | FileCheck %s --check-prefixes=SSE41
+# RUN: llc -mtriple=x86_64-linux-gnux32 -mattr=avx512f -run-pass=legalizer -global-isel-abort=1 -pass-remarks-missed='gisel*' %s -o -  | FileCheck %s --check-prefixes=SSE41
----------------
YohayAiTe wrote:

This is specifically for the case where the pointer size is 32 bits. For the regular case the tests are in legalize-build-vector-128-ptr-64.mir.

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


More information about the llvm-commits mailing list