[all-commits] [llvm/llvm-project] d08496: [AMDGPULowerKernelAttribute] Avoid use of Constant...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 1 04:11:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d08496b51cc97d1d73d55a733cd0ec68e5fe9e84
      https://github.com/llvm/llvm-project/commit/d08496b51cc97d1d73d55a733cd0ec68e5fe9e84
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp

  Log Message:
  -----------
  [AMDGPULowerKernelAttribute] Avoid use of ConstantExpr::getIntegerCast() (NFC)

We are working on ConstantInt here, so folding will always succeed.
This just avoids use of the ConstantExpr API.




More information about the All-commits mailing list