From bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 6 Mar 2023 10:46:22 +0100 Subject: [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 --- llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll') 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: ; "another_caller" has only references but no calls. -; CHECK-NEXT: +; CHECK-NEXT: ; CHECK-NEXT: ; CHECK-NEXT: @@ -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 } -- cgit v1.2.3