[all-commits] [llvm/llvm-project] bc7ca9: [AMDGPUInstCombine] Avoid use of ConstantExpr::get...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 2 02:12:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc7ca9170f250e2eb6b235ed8555278dbc82e801
      https://github.com/llvm/llvm-project/commit/bc7ca9170f250e2eb6b235ed8555278dbc82e801
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

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

  Log Message:
  -----------
  [AMDGPUInstCombine] Avoid use of ConstantExpr::getSExt() (NFC)

Let the IRBuilder handle the constant folding instead.




More information about the All-commits mailing list