[llvm] be2ca02 - PGOProfile: Only keep opaque pointer tests

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 08:42:18 PST 2022


Author: Matt Arsenault
Date: 2022-12-05T11:42:11-05:00
New Revision: be2ca025556008f208246623c2b8ac9ef623553c

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

LOG: PGOProfile: Only keep opaque pointer tests

The typed pointer tests were already converted, these were identical
now.

Added: 
    

Modified: 
    

Removed: 
    llvm/test/Transforms/PGOProfile/mismatched-byval-opaque.ll
    llvm/test/Transforms/PGOProfile/mismatched-inalloca-opaque.ll


################################################################################
diff  --git a/llvm/test/Transforms/PGOProfile/mismatched-byval-opaque.ll b/llvm/test/Transforms/PGOProfile/mismatched-byval-opaque.ll
deleted file mode 100644
index fa3ffe3b24cf..000000000000
--- a/llvm/test/Transforms/PGOProfile/mismatched-byval-opaque.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; RUN: opt -passes=pgo-icall-prom -profile-summary-hot-count=10 -S < %s -pass-remarks-output=- | FileCheck %s
-
-; CHECK: byval mismatch
-
-define void @a(ptr %0) !prof !0 {
-  ret void
-}
-
-define void @b(ptr %v, ptr %p) !prof !1 {
-; CHECK-LABEL: @b
-; CHECK-NEXT: load
-; CHECK-NEXT: call void {{.*}}(ptr byval(i64)
-; CHECK-NEXT: ret void
-;
-  %a = load ptr, ptr %v
-  call void %a(ptr byval(i64) %p), !prof !2
-  ret void
-}
-
-!0 = !{!"function_entry_count", i64 36}
-!1 = !{!"function_entry_count", i64 1}
-!2 = !{!"VP", i32 0, i64 18, i64 12157170054180749580, i64 18}

diff  --git a/llvm/test/Transforms/PGOProfile/mismatched-inalloca-opaque.ll b/llvm/test/Transforms/PGOProfile/mismatched-inalloca-opaque.ll
deleted file mode 100644
index a403835bbe1f..000000000000
--- a/llvm/test/Transforms/PGOProfile/mismatched-inalloca-opaque.ll
+++ /dev/null
@@ -1,21 +0,0 @@
-; RUN: opt -passes=pgo-icall-prom -profile-summary-hot-count=10 -S < %s -pass-remarks-output=- | FileCheck %s
-
-; CHECK: inalloca mismatch
-
-define void @a(ptr %0) !prof !0 {
-  ret void
-}
-
-define void @b(ptr %v, ptr %p) !prof !1 {
-; CHECK-LABEL: @b
-; CHECK-NEXT: load
-; CHECK-NEXT: call void {{.*}}(ptr inalloca(i64)
-; CHECK-NEXT: ret void
-  %a = load ptr, ptr %v
-  call void %a(ptr inalloca(i64) %p), !prof !2
-  ret void
-}
-
-!0 = !{!"function_entry_count", i64 36}
-!1 = !{!"function_entry_count", i64 1}
-!2 = !{!"VP", i32 0, i64 18, i64 12157170054180749580, i64 18}


        


More information about the llvm-commits mailing list