[all-commits] [llvm/llvm-project] 2c7dc1: [CGBuilder] Add CreateGEP() overload that accepts ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 23 05:54:01 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c7dc13146ba0c2991e4950ce159276ad5d9aece
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

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

  Log Message:
  [CGBuilder] Add CreateGEP() overload that accepts an Address

Add an overload for an Address and a single non-constant offset.
This makes it easier to preserve the element type and adjust the
alignment appropriately.

More information about the All-commits mailing list