[llvm] 3fd27ec - [InstrProfiling] Add one missing XCOFF line to profiling.ll

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 2 08:05:25 PDT 2021


Author: Jinsong Ji
Date: 2021-09-02T15:05:06Z
New Revision: 3fd27ec75909786ea3bddc0872b48ab9b2dffca9

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

LOG: [InstrProfiling] Add one missing XCOFF line to profiling.ll

Added: 
    

Modified: 
    llvm/test/Instrumentation/InstrProfiling/profiling.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Instrumentation/InstrProfiling/profiling.ll b/llvm/test/Instrumentation/InstrProfiling/profiling.ll
index 6efaf65f1eab9..e4bc8387ef294 100644
--- a/llvm/test/Instrumentation/InstrProfiling/profiling.ll
+++ b/llvm/test/Instrumentation/InstrProfiling/profiling.ll
@@ -97,6 +97,7 @@ declare void @llvm.instrprof.increment(i8*, i64, i32, i32)
 ; ELF_GENERIC: @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime {{.*}} @__profd_foo {{.*}}
 ; MACHO:       @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}
 ; COFF:        @llvm.compiler.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}
+; XCOFF:       @llvm.used = appending global {{.*}} @__llvm_profile_runtime_user {{.*}} @__profd_foo {{.*}}
 
 ; MACHO: define linkonce_odr hidden i32 @__llvm_profile_runtime_user() {{.*}} {
 ; MACHO:   %[[REG:.*]] = load i32, i32* @__llvm_profile_runtime


        


More information about the llvm-commits mailing list