[all-commits] [llvm/llvm-project] 733f37: [Inliner] Regen checks for old test; NFC

goldsteinn via All-commits all-commits at lists.llvm.org
Tue Oct 3 14:12:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 733f373ebe43b890fd783230caede0aa301b1c9a
      https://github.com/llvm/llvm-project/commit/733f373ebe43b890fd783230caede0aa301b1c9a
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M llvm/test/Transforms/Inline/byval.ll

  Log Message:
  -----------
  [Inliner] Regen checks for old test; NFC


  Commit: 2d037f5aed34291a078e90afa1c09b9482d9a242
      https://github.com/llvm/llvm-project/commit/2d037f5aed34291a078e90afa1c09b9482d9a242
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll
    M llvm/test/Transforms/Inline/ret_attr_update.ll

  Log Message:
  -----------
  [Inliner] Use "best" ret attribute when propagating attributes during inlining

For attributes assosiated with a value (like `dereferenceable(N)`)
instead of always using the attribute from the to-be inlined caller,
it should keep using the value at existing callsites that have the
attribute if the value is higher (provides more information).


  Commit: 2da4960f20f7e5d88a68ce25636a895284dc66d8
      https://github.com/llvm/llvm-project/commit/2da4960f20f7e5d88a68ce25636a895284dc66d8
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M clang/test/CodeGen/X86/bitscan-builtins.c
    M clang/test/CodeGen/X86/popcnt-builtins.c
    M clang/test/CodeGen/X86/rot-intrinsics.c
    M clang/test/CodeGen/X86/x86-bswap.c
    M clang/test/CodeGen/aarch64-ls64.c
    M clang/test/CodeGen/fp-contract-fast-pragma.cpp
    M clang/test/CodeGen/fp-contract-on-pragma.cpp
    M clang/test/CodeGen/fp-contract-pragma.cpp
    M clang/test/CodeGenCUDA/cuda-builtin-vars.cu
    M clang/test/Headers/__clang_hip_cmath.hip
    M clang/test/Headers/__clang_hip_math.hip
    M clang/test/Headers/__clang_hip_math_ocml_rounded_ops.hip
    M clang/test/Headers/amdgcn_openmp_device_math.c
    M clang/test/Headers/amdgcn_openmp_device_math_constexpr.cpp
    M clang/test/Headers/hip-header.hip
    M clang/test/Headers/nvptx_device_cmath_functions.cpp
    M clang/test/Headers/nvptx_device_cmath_functions_cxx17.cpp
    M clang/test/Headers/nvptx_device_math_functions.c
    M clang/test/Headers/nvptx_device_math_functions.cpp
    M clang/test/Headers/nvptx_device_math_functions_cxx17.cpp
    M clang/test/Headers/nvptx_device_math_modf.cpp
    M clang/test/Headers/nvptx_device_math_sin.cpp
    M clang/test/Headers/nvptx_device_math_sin_cos.cpp
    M clang/test/Headers/openmp_device_math_isnan.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll

  Log Message:
  -----------
  [Inliner] Also propagate `noundef` and `align` ret attributes during inlining

Both of these can potentially be lost otherwise.


Compare: https://github.com/llvm/llvm-project/compare/438a6ef277a4...2da4960f20f7


More information about the All-commits mailing list