[all-commits] [llvm/llvm-project] 3b9a85: [CFE][Codegen] Make sure to maintain the contiguit...

Mahesha S via All-commits all-commits at lists.llvm.org
Tue Nov 9 19:16:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b9a85d10ac7a073c95b35adca379281ac6ecbcb
      https://github.com/llvm/llvm-project/commit/3b9a85d10ac7a073c95b35adca379281ac6ecbcb
  Author: hsmahesha <mahesha.comp at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/test/CodeGenCUDA/builtins-amdgcn.cu
    M clang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
    M clang/test/CodeGenCXX/amdgcn-func-arg.cpp
    M clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp
    M clang/test/CodeGenCXX/vla.cpp
    M clang/test/CodeGenSYCL/address-space-deduction.cpp
    M clang/test/OpenMP/amdgcn_target_init_temp_alloca.cpp

  Log Message:
  -----------
  [CFE][Codegen] Make sure to maintain the contiguity of all the static allocas

at the start of the entry block, which in turn would aid better code transformation/optimization.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D110257




More information about the All-commits mailing list