llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Ellis Hoag (ellishg)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/219068.diff


3 Files Affected:

- (renamed) clang/test/CodeGen/Inputs/pgotestclang.proftext () 
- (removed) clang/test/CodeGen/Inputs/pgotestir.profraw (-1) 
- (modified) clang/test/CodeGen/pgo-instrumentation.c (+2-2) 


``````````diff
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

``````````

</details>


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

Reply via email to