Skip to content
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

X | Y >s -1 implies X >s -1 and Y >s -1 #59

Open
dtcxzyw opened this issue Dec 1, 2024 · 0 comments
Open

X | Y >s -1 implies X >s -1 and Y >s -1 #59

dtcxzyw opened this issue Dec 1, 2024 · 0 comments

Comments

@dtcxzyw
Copy link
Owner

dtcxzyw commented Dec 1, 2024

https://alive2.llvm.org/ce/z/Kbf2zZ

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(inaccessiblemem: write)
define noundef i1 @src428(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
entry:
  %2 = or i32 %1, %0
  %3 = icmp sgt i32 %2, -1
  tail call void @llvm.assume(i1 %3)
  %4 = icmp sgt i32 %1, -1
  ret i1 %4
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none)
define noundef i1 @tgt428(i32 %0, i32 %1) local_unnamed_addr #2 {
entry:
  ret i1 true
}

tests/stb/optimized/stb_image.c.ll
See also llvm/llvm-project#118114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant