[llvm] [AArch64][GlobalISel] Don't crash when legalising vector G_SHL (PR #168848)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 10:56:37 PST 2025
================
@@ -0,0 +1,29 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -global-isel -o - %s | FileCheck %s
+
+target triple = "aarch64-unknown-unknown"
+
+; Check we don't crash here.
+
+define <2 x i8> @test() {
----------------
arsenm wrote:
Can you add this case to one of the existing shl tests
https://github.com/llvm/llvm-project/pull/168848
More information about the llvm-commits
mailing list