[all-commits] [llvm/llvm-project] a06789: [clang][codegen] Fix another lifetime emission on ...

darkbuck via All-commits all-commits at lists.llvm.org
Sun Feb 9 21:27:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a06789138987d1f64bb2f97d3a5c0f39eaf94715
      https://github.com/llvm/llvm-project/commit/a06789138987d1f64bb2f97d3a5c0f39eaf94715
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    A clang/test/CodeGenCXX/amdgcn-call-with-aggarg.cpp

  Log Message:
  -----------
  [clang][codegen] Fix another lifetime emission on alloca on non-default address space.

- Lifetime intrinsics expect the pointer directly from alloca. Need
  extra handling for targets with alloca on non-default (or non-zero)
  address space.




More information about the All-commits mailing list