diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-06-16 16:06:22 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-06-16 16:06:22 +0000 |
commit | b1f9501242ced15bad9d98b4b729dcb2f5dc925b (patch) | |
tree | 34ed7ec3672638acd8c8660a9eee7a7ca02b76ff /clang/test/OpenMP/sections_firstprivate_codegen.cpp | |
parent | 51ab7579410a1ae0a5e4c4d997f8c65a43fe03b1 (diff) | |
download | bcm5719-llvm-b1f9501242ced15bad9d98b4b729dcb2f5dc925b.tar.gz bcm5719-llvm-b1f9501242ced15bad9d98b4b729dcb2f5dc925b.zip |
Revert r272900 - [OpenMP] Cast captures by copy when passed to fork call so that they are compatible to what the runtime library expects.
Was causing trouble in one of the regression tests for a 32-bit address space.
llvm-svn: 272908
Diffstat (limited to 'clang/test/OpenMP/sections_firstprivate_codegen.cpp')
-rw-r--r-- | clang/test/OpenMP/sections_firstprivate_codegen.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/OpenMP/sections_firstprivate_codegen.cpp b/clang/test/OpenMP/sections_firstprivate_codegen.cpp index 51d0c7b6183..23358a86e39 100644 --- a/clang/test/OpenMP/sections_firstprivate_codegen.cpp +++ b/clang/test/OpenMP/sections_firstprivate_codegen.cpp @@ -257,11 +257,7 @@ int main() { // CHECK: define {{.*}} i{{[0-9]+}} [[TMAIN_INT]]() // CHECK: [[TEST:%.+]] = alloca [[S_INT_TY]], // CHECK: call {{.*}} [[S_INT_TY_DEF_CONSTR:@.+]]([[S_INT_TY]]* [[TEST]]) -// CHECK: [[T_VARVAL:%.+]] = load i32, i32* %{{.+}}, -// CHECK: [[T_VARCONV:%.+]] = bitcast i64* [[T_VARCAST:%.+]] to i32* -// CHECK: store i32 [[T_VARVAL]], i32* [[T_VARCONV]], -// CHECK: [[T_VARPVT:%.+]] = load i64, i64* [[T_VARCAST]], -// CHECK: call void (%{{.+}}*, i{{[0-9]+}}, void (i{{[0-9]+}}*, i{{[0-9]+}}*, ...)*, ...) @__kmpc_fork_call(%{{.+}}* @{{.+}}, i{{[0-9]+}} 4, void (i{{[0-9]+}}*, i{{[0-9]+}}*, ...)* bitcast (void (i{{[0-9]+}}*, i{{[0-9]+}}*, i64, [2 x i32]*, [2 x [[S_INT_TY]]]*, [[S_INT_TY]]*)* [[TMAIN_MICROTASK:@.+]] to void {{.*}}i64 [[T_VARPVT]], +// CHECK: call void (%{{.+}}*, i{{[0-9]+}}, void (i{{[0-9]+}}*, i{{[0-9]+}}*, ...)*, ...) @__kmpc_fork_call(%{{.+}}* @{{.+}}, i{{[0-9]+}} 4, void (i{{[0-9]+}}*, i{{[0-9]+}}*, ...)* bitcast (void (i{{[0-9]+}}*, i{{[0-9]+}}*, i32, [2 x i32]*, [2 x [[S_INT_TY]]]*, [[S_INT_TY]]*)* [[TMAIN_MICROTASK:@.+]] to void // CHECK: call {{.*}} [[S_INT_TY_DESTR:@.+]]([[S_INT_TY]]* // CHECK: ret // |