[all-commits] [llvm/llvm-project] 5ff35b: [AMDGPU][GlobalISel] Fix insert point in FoldableF...

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Fri Feb 11 03:12:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ff35ba8ae3cb2995ee29961b852b18168776d94
      https://github.com/llvm/llvm-project/commit/5ff35ba8ae3cb2995ee29961b852b18168776d94
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-foldable-fneg.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Fix insert point in FoldableFneg combine

Newly created fneg was built after some of it's uses in some cases.
Now it will be built immediately after instruction whose dst it negates.

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




More information about the All-commits mailing list