jdoerfert added inline comments.
================
Comment at: clang/test/OpenMP/parallel_master_codegen.cpp:143
+// CK31: [[A_VAL:%.+]] = alloca i32
+// CK31: call void (%struct.ident_t*, i32, void (i32*, i32*, ...)*, ...)
@__kmpc_fork_call(%struct.ident_t* {{.+}}, i32 1, void (i32*, i32*, ...)*
bitcast (void (i32*, i32*, i32*)* [[OMP_OUTLINED:@.+]] to void
+
----------------
This does not look like `firstprivate` is actually doing anything here. Could
you please confirm that the IR is the same for `default(shared)` and
`default(firstprivate)`? If so, we need to figure out why the variable is not
marked firstprivate.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75591/new/
https://reviews.llvm.org/D75591
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits