-
Notifications
You must be signed in to change notification settings - Fork 13.5k
LSV: document hang reported in #37865 #102479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; REQUIRES: asserts | ||
; RUN: not --crash opt -mtriple=aarch64 -passes=load-store-vectorizer \ | ||
; RUN: -disable-output %s 2>&1 | FileCheck %s | ||
|
||
define i32 @load_cycle(ptr %x) { | ||
; CHECK: Unexpected cycle while re-ordering instructions | ||
entry: | ||
%gep.x.1 = getelementptr inbounds [2 x i32], ptr %x, i32 0, i32 1 | ||
%load.x.1 = load i32, ptr %gep.x.1 | ||
%rem = urem i32 %load.x.1, 1 | ||
%gep.x.2 = getelementptr inbounds [2 x i32], ptr %x, i32 %rem, i32 0 | ||
Comment on lines
+9
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this just failed to check that one of the vectorization pointer candidates actually depends on the other load, so these shouldn't be vectorization candidates There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, I figured that I have to fix the creation of the Chain. |
||
%load.x.2 = load i32, ptr %gep.x.2 | ||
%ret = add i32 %load.x.2, %load.x.1 | ||
ret i32 %ret | ||
} |
Uh oh!
There was an error while loading. Please reload this page.