diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-06-04 08:31:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 08:31:03 +0200 |
| commit | deab451e7a7f2dff42097049274637052c87eabd (patch) | |
| tree | 5a261b1bbbdcb0e3c7c732eb4a6d1cc187743dbf /llvm/test/CodeGen/Generic | |
| parent | 46672c1dc3272adda838caa87bf3fb17411986fb (diff) | |
[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 'llvm/test/CodeGen/Generic')
| -rw-r--r-- | llvm/test/CodeGen/Generic/pr33094.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/pr33094.ll b/llvm/test/CodeGen/Generic/pr33094.ll index cd98ec3b139b..65089a39c756 100644 --- a/llvm/test/CodeGen/Generic/pr33094.ll +++ b/llvm/test/CodeGen/Generic/pr33094.ll @@ -12,8 +12,8 @@ @B_Inst = global %B zeroinitializer define i64 @foo() { - %s = select i1 icmp eq (ptr @A_Inst, ptr @B_Inst), - %Tuple { i64 33 }, %Tuple { i64 42 } + %c = icmp eq ptr @A_Inst, @B_Inst + %s = select i1 %c, %Tuple { i64 33 }, %Tuple { i64 42 } %e = extractvalue %Tuple %s, 0 ret i64 %e } |
