summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAndy Kaylor <andrew.kaylor@intel.com>2021-06-09 17:02:53 -0700
committerAndy Kaylor <andrew.kaylor@intel.com>2021-06-10 15:47:03 -0700
commit41555eaf65b12db00c8a18e7fe530f72ab9ebfc0 (patch)
tree8029078f8ec2305ae08ad0c250cb7a3528119ce4 /clang/lib/CodeGen/CodeGenModule.cpp
parent462f8f06113616ac5646144972d3f453639aac69 (diff)
Preserve more MD_mem_parallel_loop_access and MD_access_group in SROA
SROA sometimes preserves MD_mem_parallel_loop_access and MD_access_group metadata on loads/stores, and sometimes fails to do so. This change adds copying of the MD after other CreateAlignedLoad/CreateAlignedStores. Also fix a case where the metadata was being copied from a load, rather than the store. Added a LIT test to catch one case. Patch by Mark Mendell Differential Revision: https://reviews.llvm.org/D103254
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions