summaryrefslogtreecommitdiff
path: root/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-03-06 10:46:22 +0100
committerNikita Popov <npopov@redhat.com>2023-03-16 10:32:08 +0100
commitbbfb13a5ffbccf1759ca6b75262a3ffdbe20496e (patch)
tree7b86a9e7b80e0b6684cd784606065d471f85c471 /llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
parentb293c6280d06f49c5ca7290855911341ab0bdffa (diff)
[ConstExpr] Remove select constant expression
This removes the select constant expression, as part of https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179. Uses of this expressions have already been removed in advance, so this just removes related infrastructure and updates tests. Differential Revision: https://reviews.llvm.org/D145382
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll')
-rw-r--r--llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll b/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
index 1926603b8b1f..4d52edd6a085 100644
--- a/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
+++ b/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
@@ -9,7 +9,7 @@
; "op7" is a call to "callee" function.
; CHECK-NEXT: <PERMODULE {{.*}} op7=3 op8=[[ALIASID:[0-9]+]]/>
; "another_caller" has only references but no calls.
-; CHECK-NEXT: <PERMODULE {{.*}} op4=3 {{.*}} op9={{[0-9]+}}/>
+; CHECK-NEXT: <PERMODULE {{.*}}/>
; CHECK-NEXT: <PERMODULE {{.*}} op0=[[ALIASEEID:[0-9]+]]
; CHECK-NEXT: <ALIAS {{.*}} op0=[[ALIASID]] {{.*}} op2=[[ALIASEEID]]/>
; CHECK-NEXT: <BLOCK_COUNT op0=3/>
@@ -27,7 +27,7 @@ define void @caller() {
define void @another_caller() {
; Test calls that aren't handled either as direct or indirect.
- call void select (i1 icmp eq (ptr @global, ptr null), ptr @f, ptr @g)()
+ call void getelementptr (i8, ptr @f, i64 ptrtoint (ptr @g to i64))()
ret void
}