[llvm] LSV: forbid load-cycles when vectorizing; fix bug (PR #104815)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 09:36:30 PDT 2024
================
@@ -1,9 +1,18 @@
-; REQUIRES: asserts
-; RUN: not --crash opt -mtriple=aarch64 -passes=load-store-vectorizer \
-; RUN: -disable-output %s 2>&1 | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -mtriple=aarch64 -passes=load-store-vectorizer -S %s | FileCheck %s
define i32 @load_cycle(ptr %x) {
-; CHECK: Unexpected cycle while re-ordering instructions
+; CHECK-LABEL: define i32 @load_cycle(
----------------
arsenm wrote:
Add a comment explaining the issue?
https://github.com/llvm/llvm-project/pull/104815
More information about the llvm-commits
mailing list