[llvm] 28a3918 - Bitcode: Convert test to opaque pointers

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 7 07:59:43 PDT 2025


Author: Matt Arsenault
Date: 2025-04-07T21:59:11+07:00
New Revision: 28a391848cc58400a3103730138d46c75871c867

URL: https://github.com/llvm/llvm-project/commit/28a391848cc58400a3103730138d46c75871c867
DIFF: https://github.com/llvm/llvm-project/commit/28a391848cc58400a3103730138d46c75871c867.diff

LOG: Bitcode: Convert test to opaque pointers

Added: 
    

Modified: 
    llvm/test/Bitcode/thinlto-unused-type-tests.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Bitcode/thinlto-unused-type-tests.ll b/llvm/test/Bitcode/thinlto-unused-type-tests.ll
index c2c5dd2f9a301..a5fc4b0c55754 100644
--- a/llvm/test/Bitcode/thinlto-unused-type-tests.ll
+++ b/llvm/test/Bitcode/thinlto-unused-type-tests.ll
@@ -3,11 +3,11 @@
 
 ; CHECK-NOT: <TYPE_TESTS
 define void @f() {
-  %p = call i1 @llvm.type.test(i8* null, metadata !"foo")
-  %q = call i1 @llvm.type.test(i8* null, metadata !"bar")
+  %p = call i1 @llvm.type.test(ptr null, metadata !"foo")
+  %q = call i1 @llvm.type.test(ptr null, metadata !"bar")
   call void @llvm.assume(i1 %q)
   ret void
 }
 
-declare i1 @llvm.type.test(i8*, metadata) nounwind readnone
+declare i1 @llvm.type.test(ptr, metadata) nounwind readnone
 declare void @llvm.assume(i1)


        


More information about the llvm-commits mailing list