[PATCH] D74799: Fix test for profile remapper

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 15:06:20 PST 2020


wenlei created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74799

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


Index: llvm/test/Transforms/SampleProfile/remap.ll
===================================================================
--- llvm/test/Transforms/SampleProfile/remap.ll
+++ 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74799.245287.patch
Type: text/x-patch
Size: 804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/76f61480/attachment.bin>


More information about the llvm-commits mailing list