[all-commits] [llvm/llvm-project] abda8d: [GlobalISel] CSE FP constants at -O0

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Feb 10 01:23:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abda8d222922c4e5b8930c2d407cc266d02fdad1
      https://github.com/llvm/llvm-project/commit/abda8d222922c4e5b8930c2d407cc266d02fdad1
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir

  Log Message:
  -----------
  [GlobalISel] CSE FP constants at -O0

At -O0 we claim to CSE constants only. I think this should apply to
G_FCONSTANT as well as G_CONSTANT.

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




More information about the All-commits mailing list