diff options
author | Fangrui Song <i@maskray.me> | 2021-01-01 10:46:34 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-01-01 10:46:34 -0800 |
commit | ec9f2c3be070ec2fc4d45f13c70e68c8c0deafc2 (patch) | |
tree | 54914da7e996202bbed83fac3776f237f20682df /clang/test/OpenMP/parallel_codegen.cpp | |
parent | c74e8539ff372a89d08e7bfea7323a4dc2979d22 (diff) | |
download | llvm-ec9f2c3be070ec2fc4d45f13c70e68c8c0deafc2.zip llvm-ec9f2c3be070ec2fc4d45f13c70e68c8c0deafc2.tar.gz llvm-ec9f2c3be070ec2fc4d45f13c70e68c8c0deafc2.tar.bz2 |
test/OpenMP/parallel_codegen.cpp: Allow multiple result attributes
On many targets the matched line is `define dso_local i32 @main` while
on ppc64 it is `define dso_local signext i32 @main`.
Diffstat (limited to 'clang/test/OpenMP/parallel_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/parallel_codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_codegen.cpp b/clang/test/OpenMP/parallel_codegen.cpp index f61e686..b32f6c3 100644 --- a/clang/test/OpenMP/parallel_codegen.cpp +++ b/clang/test/OpenMP/parallel_codegen.cpp @@ -59,7 +59,7 @@ int main (int argc, char **argv) { return tmain(argv); } -// ALL-LABEL: define {{[a-z\_\b]*[ ]?i32}} @main({{i32[ ]?[a-z]*}} %argc, i8** %argv) +// ALL-LABEL: define{{[ _a-z]*}} i32 @main({{i32[ ]?[a-z]*}} %argc, i8** %argv) // ALL: store i32 %argc, i32* [[ARGC_ADDR:%.+]], // ALL: [[VLA:%.+]] = alloca i32, i{{[0-9]+}} [[VLA_SIZE:%[^,]+]], // CHECK: call {{.*}}void (%struct.ident_t*, i32, void (i32*, i32*, ...)*, ...) @__kmpc_fork_call(%struct.ident_t* [[DEF_LOC_2]], i32 2, void (i32*, i32*, ...)* bitcast (void (i32*, i32*, i{{[0-9]+}}, i32*)* [[OMP_OUTLINED:@.+]] to void (i32*, i32*, ...)*), i{{[0-9]+}} [[VLA_SIZE]], i32* [[VLA]]) |