r219315 - Fixed OpenMP/parallel_firstprivate_codegen.cpp

Ulrich Weigand Ulrich.Weigand at de.ibm.com
Thu Oct 9 08:15:21 PDT 2014


> I'm still seeing the test fail on SystemZ due to:
>
> /home/uweigand/llvm/llvm-head/tools/clang/test/OpenMP/
> parallel_firstprivate_codegen.cpp:63:11: error: expected string not
> found in input
> // CHECK: define i{{[0-9]+}} @main()
>           ^
> <stdin>:15:80: note: scanning from here
> @0 = private unnamed_addr constant %ident_t { i32 0, i32 66, i32 0,
> i32 0, i8* getelementptr inbounds ([23 x i8]* @.str, i32 0, i32 0) }
>
> ^
> <stdin>:20:1: note: possible intended match here
> define signext i32 @main() #0 {
> ^
>
> I guess the test should allow for the presence of signext or other
> modifiers ...

And there's another instance:

/home/uweigand/llvm/llvm-head/tools/clang/test/OpenMP/parallel_firstprivate_codegen.cpp:68:11:
 error: expected string not found in input
// CHECK: = call i{{.+}} [[TMAIN_INT:@.+]]()
          ^
<stdin>:49:190: note: scanning from here
 call void (%ident_t*, i32, void (i32*, i32*, ...)*, ...)*
@__kmpc_fork_call(%ident_t* @1, i32 1, void (i32*, i32*, ...)* bitcast
(void (i32*, i32*, %struct.anon*)* @
.omp_outlined. to void (i32*, i32*, ...)*), i8* %5)

                       ^
<stdin>:50:8: note: possible intended match here
 %call = call signext i32 @_Z5tmainIiET_v()
       ^

Bye,
Ulrich




More information about the cfe-commits mailing list