aboutsummaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-06-04 08:31:03 +0200
committerGitHub <noreply@github.com>2024-06-04 08:31:03 +0200
commitdeab451e7a7f2dff42097049274637052c87eabd (patch)
tree5a261b1bbbdcb0e3c7c732eb4a6d1cc187743dbf /polly
parent46672c1dc3272adda838caa87bf3fb17411986fb (diff)
downloadllvm-deab451e7a7f2dff42097049274637052c87eabd.zip
llvm-deab451e7a7f2dff42097049274637052c87eabd.tar.gz
llvm-deab451e7a7f2dff42097049274637052c87eabd.tar.bz2
[IR] Remove support for icmp and fcmp constant expressions (#93038)
Remove support for the icmp and fcmp constant expressions. This is part of: https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179 As usual, many of the updated tests will no longer test what they were originally intended to -- this is hard to preserve when constant expressions get removed, and in many cases just impossible as the existence of a specific kind of constant expression was the cause of the issue in the first place.
Diffstat (limited to 'polly')
-rw-r--r--polly/test/ScopInfo/constant-non-integer-branch-condition.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/ScopInfo/constant-non-integer-branch-condition.ll b/polly/test/ScopInfo/constant-non-integer-branch-condition.ll
index 42c3b83..86dd94e 100644
--- a/polly/test/ScopInfo/constant-non-integer-branch-condition.ll
+++ b/polly/test/ScopInfo/constant-non-integer-branch-condition.ll
@@ -14,7 +14,7 @@ entry:
br label %entry.split
entry.split: ; preds = %entry
- br i1 icmp ne (ptr @test_weak, ptr null), label %if.then, label %cleanup
+ br i1 ptrtoint (ptr @test_weak to i1), label %if.then, label %cleanup
if.then: ; preds = %entry.split
store i32 0, ptr %A