[llvm] [RISCV] Fix crash when unrolling loop containing vector instructions (PR #83384)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 08:35:24 PST 2024


================
@@ -0,0 +1,53 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -mtriple=riscv64 -mattr=+f,+d --passes=loop-unroll-full -S | FileCheck %s
+
+; Check it doesn' crash when the vector extension is not enabled.
----------------
arcbbb wrote:

Fixed. Thanks!

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


More information about the llvm-commits mailing list