[LLVMdev] instprof tests down in ARM build

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Jul 11 16:36:46 PDT 2014


> On 2014-Jul-09, at 11:01, Renato Golin <renato.golin at linaro.org> wrote:
> 
> On 9 July 2014 18:23, Greg Fitzgerald <garious at gmail.com> wrote:
>> compiler-rt/test/profile/instrprof-write-file.c:13:12: error: expected
>> string not found in input
>> // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof !1
>>           ^
>> <stdin>:17:2: note: possible intended match here
>> br i1 %cmp, label %if.then, label %if.end, !prof !3
> 
> Looks like a silly unnamed metadata stuff. You could add a variable to
> cope with the different numbers. Something like
> 
> // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[meta:.*]]
> // CHECK: ![[meta]] = metadata !{metadata !"branch_weights", i32 1, i32 2}
> 
> cheers,
> --renato

Can you file a PR and CC me?



More information about the llvm-dev mailing list