[llvm] 05c3907 - Fix test for profile remapper

Wenlei He via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 17:58:54 PST 2020


Author: Wenlei He
Date: 2020-02-18T17:58:32-08:00
New Revision: 05c3907b88a086afb8d7d6ab06cc31786d296464

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

LOG: Fix test for profile remapper

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74799

Added: 
    

Modified: 
    llvm/test/Transforms/SampleProfile/remap.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SampleProfile/remap.ll b/llvm/test/Transforms/SampleProfile/remap.ll
index af37ddae1518..b104c07290f0 100644
--- a/llvm/test/Transforms/SampleProfile/remap.ll
+++ b/llvm/test/Transforms/SampleProfile/remap.ll
@@ -2,7 +2,7 @@
 ;
 ; Check whether profile remapping work with loading profile on demand used by extbinary format profile.
 ; RUN: llvm-profdata merge -sample -extbinary %S/Inputs/remap.prof -o %t.extbinary.afdo
-; RUN: opt %s -passes=sample-profile -sample-profile-file=%S/Inputs/remap.prof -sample-profile-remapping-file=%S/Inputs/remap.map | opt -analyze -branch-prob | FileCheck %s
+; RUN: opt %s -passes=sample-profile -sample-profile-file=%t.extbinary.afdo -sample-profile-remapping-file=%S/Inputs/remap.map | opt -analyze -branch-prob | FileCheck %s
 ;
 ; Reduced from branch.ll
 


        


More information about the llvm-commits mailing list