[PATCH] D150652: [clang] Convert a few OpenMP tests to opaque pointers
Sergei Barannikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 16 02:43:13 PDT 2023
barannikov88 added inline comments.
================
Comment at: clang/test/OpenMP/target_update_codegen.cpp:171-173
-// CK1-DAG: [[BP]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[BPADDR:%[^,]+]], i[[sz]] 0, i[[sz]] 0
-// CK1-DAG: [[P]] = getelementptr inbounds [1 x i8*], [1 x i8*]* [[PADDR:%[^,]+]], i[[sz]] 0, i[[sz]] 0
-// CK1-DAG: [[SZ]] = getelementptr inbounds [1 x i64], [1 x i64]* [[SZADDR:%[^,]+]], i[[sz]] 0, i[[sz]] 0
----------------
These GEPs have disappeared from the output. The call above is now directly fed by the loads below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150652/new/
https://reviews.llvm.org/D150652
More information about the cfe-commits
mailing list