[LLVMdev] instprof tests down in ARM build
Renato Golin
renato.golin at linaro.org
Wed Jul 9 11:01:01 PDT 2014
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
More information about the llvm-dev
mailing list