mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 12:36:06 +00:00

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.
7 lines
256 B
LLVM
7 lines
256 B
LLVM
; RUN: llvm-as %s -disable-output
|
|
@G = constant <3 x i64> ptrtoint (<3 x ptr> <ptr null, ptr null, ptr null> to <3 x i64>)
|
|
|
|
@G1 = global i8 zeroinitializer
|
|
@g = constant <2 x ptr> getelementptr (i8, <2 x ptr> <ptr @G1, ptr @G1>, <2 x i32> <i32 0, i32 0>)
|
|
|