[all-commits] [llvm/llvm-project] de14be: Remove redundant loads.
jyu2-git via All-commits
all-commits at lists.llvm.org
Fri Nov 4 15:32:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de14befa7730093ff3d46c7628fa1084f251e98d
https://github.com/llvm/llvm-project/commit/de14befa7730093ff3d46c7628fa1084f251e98d
Author: Jennifer Yu <jennifer.yu at intel.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/test/OpenMP/target_has_device_addr_codegen.cpp
M clang/test/OpenMP/target_has_device_addr_codegen_01.cpp
M openmp/libomptarget/test/mapping/has_device_addr.cpp
Log Message:
-----------
Remove redundant loads.
It is caused by regenerate captured var value when processing the
has_device_addr, the captured var value has been generated in
GenerateOpenMPCapturedVars and passed as Arg in generateInfoForCapture.
The fix just use Arg instead regenerated just same as is_device_ptr
More information about the All-commits
mailing list