[llvm] [LoongArch] Fix assertion failure when vec-args are not fully passed in vec-regs (PR #159568)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 21 18:27:22 PDT 2025


================
@@ -0,0 +1,143 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc --mtriple=loongarch32 --mattr=+32s,+lasx < %s | FileCheck %s --check-prefix=LA32
+; RUN: llc --mtriple=loongarch64 --mattr=+lasx < %s | FileCheck %s --check-prefix=LA64
+
+define fastcc <64 x i64> @test1(<64 x i64> %0) {
----------------
SixWeining wrote:

```suggestion
define fastcc <64 x i64> @test1(<64 x i64> %0) nounwind {
```

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


More information about the llvm-commits mailing list