[all-commits] [llvm/llvm-project] 767ec8: [CodeGen] Avoid deprecated Address ctor in EmitLoa...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 22 01:43:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 767ec883e37510a247ea5695921876ef67cf5b3f
      https://github.com/llvm/llvm-project/commit/767ec883e37510a247ea5695921876ef67cf5b3f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  [CodeGen] Avoid deprecated Address ctor in EmitLoadOfPointer()

This requires some adjustment in caller code, because there was
a confusion regarding the meaning of the PtrTy argument: This
argument is the type of the pointer being loaded, not the addresses
being loaded from.




More information about the All-commits mailing list