[all-commits] [llvm/llvm-project] 7a2e12: [CodeGen][OpenMP] Use correct type in EmitLoadOfPo...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Mar 21 07:22:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a2e12e0a7132739bb2c609477093d2b26ee4f3a
      https://github.com/llvm/llvm-project/commit/7a2e12e0a7132739bb2c609477093d2b26ee4f3a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
    M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
    M clang/test/OpenMP/reduction_implicit_map.cpp

  Log Message:
  -----------
  [CodeGen][OpenMP] Use correct type in EmitLoadOfPointer()

The EmitLoadOfPointer() call already specified the right pointer
type, but it did not match the Address we're loading from, so we
need to insert a bitcast first.




More information about the All-commits mailing list