https://github.com/ellishg created 
https://github.com/llvm/llvm-project/pull/219068

Remove `pgotestir.profraw` which is actually the same as `pgotestir.proftext`. 
Also rename `pgotestclang.profraw` to `pgotestclang.proftext` since it is 
actually just a test file, not a binary blob. Update the test to reflect these 
changes.

>From 03bd0cffac9331b169fd708f42a85d88ce7cb236 Mon Sep 17 00:00:00 2001
From: Ellis Hoag <[email protected]>
Date: Wed, 26 Aug 2026 15:49:44 -0700
Subject: [PATCH] [InstrProf] Remove pgotestir.profraw test file

---
 .../Inputs/{pgotestclang.profraw => pgotestclang.proftext}    | 0
 clang/test/CodeGen/Inputs/pgotestir.profraw                   | 1 -
 clang/test/CodeGen/pgo-instrumentation.c                      | 4 ++--
 3 files changed, 2 insertions(+), 3 deletions(-)
 rename clang/test/CodeGen/Inputs/{pgotestclang.profraw => 
pgotestclang.proftext} (100%)
 delete mode 100644 clang/test/CodeGen/Inputs/pgotestir.profraw

diff --git a/clang/test/CodeGen/Inputs/pgotestclang.profraw 
b/clang/test/CodeGen/Inputs/pgotestclang.proftext
similarity index 100%
rename from clang/test/CodeGen/Inputs/pgotestclang.profraw
rename to clang/test/CodeGen/Inputs/pgotestclang.proftext
diff --git a/clang/test/CodeGen/Inputs/pgotestir.profraw 
b/clang/test/CodeGen/Inputs/pgotestir.profraw
deleted file mode 100644
index 04a7c1c1a35aa..0000000000000
--- a/clang/test/CodeGen/Inputs/pgotestir.profraw
+++ /dev/null
@@ -1 +0,0 @@
-:ir
diff --git a/clang/test/CodeGen/pgo-instrumentation.c 
b/clang/test/CodeGen/pgo-instrumentation.c
index 7c878250ae33e..2d904c9cd3170 100644
--- a/clang/test/CodeGen/pgo-instrumentation.c
+++ b/clang/test/CodeGen/pgo-instrumentation.c
@@ -14,11 +14,11 @@
 // CHECK-CLANG-INSTRPROF: Running pass: InstrProfilingLoweringPass on
 
 // Ensure Pass PGOInstrumentationUsePass is invoked.
-// RUN: llvm-profdata merge -o %t.profdata %S/Inputs/pgotestir.profraw
+// RUN: llvm-profdata merge -o %t.profdata %S/Inputs/pgotestir.proftext
 // RUN: %clang_cc1 -O2 -fprofile-instrument-use=llvm 
-fprofile-instrument-use-path=%t.profdata %s -fdebug-pass-manager -emit-llvm -o 
- 2>&1 | FileCheck %s -check-prefix=CHECK-PGOUSEPASS-INVOKED-INSTR-USE
 // CHECK-PGOUSEPASS-INVOKED-INSTR-USE: Running pass: PGOInstrumentationUse on
 //
 // Ensure Pass PGOInstrumentationUsePass is not invoked.
-// RUN: llvm-profdata merge -o %t.profdata %S/Inputs/pgotestclang.profraw
+// RUN: llvm-profdata merge -o %t.profdata %S/Inputs/pgotestclang.proftext
 // RUN: %clang_cc1 -O2 -fprofile-instrument-use=clang 
-fprofile-instrument-use-path=%t.profdata %s -fdebug-pass-manager -emit-llvm -o 
- 2>&1 | FileCheck %s -check-prefix=CHECK-PGOUSEPASS-INVOKED-USE-CLANG
 // CHECK-PGOUSEPASS-INVOKED-USE-CLANG-NOT: Running pass: PGOInstrumentationUse 
on

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to