From deab451e7a7f2dff42097049274637052c87eabd Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 4 Jun 2024 08:31:03 +0200 Subject: [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. --- polly/test/ScopInfo/constant-non-integer-branch-condition.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polly') 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 -- cgit v1.1