[PATCH] D30233: Fix an obvious bug in SampleProfileReaderGCC.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 16:52:45 PST 2017


danielcdh added inline comments.


================
Comment at: test/Transforms/SampleProfile/indirect-call.ll:5
 ; CHECK-LABEL: @test
+; GCC-LABEL: @test
 define void @test(void ()*) !dbg !3 {
----------------
davidxl wrote:
> is there a need for the GCC prefix? The pattern is the same as the existing one.
The gcc version of the profile only contains the profile for "test". As there is no tool to convert llvm profile to gcc format, I need to manually fake a gcc profile, which is not easy when there is inline stack.


https://reviews.llvm.org/D30233





More information about the llvm-commits mailing list