[all-commits] [llvm/llvm-project] 036d4b: [AMDGPU] Use numbers::pi instead of M_PI. NFC.

jayfoad via All-commits all-commits at lists.llvm.org
Fri May 29 01:56:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 036d4b0dbfd1bb5f960c620ff899669d85e62e08
      https://github.com/llvm/llvm-project/commit/036d4b0dbfd1bb5f960c620ff899669d85e62e08
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  [AMDGPU] Use numbers::pi instead of M_PI. NFC.


  Commit: b28d038ff34dd54ce8eb9fe83506cc3742e6b85a
      https://github.com/llvm/llvm-project/commit/b28d038ff34dd54ce8eb9fe83506cc3742e6b85a
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-05-29 (Fri, 29 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  [AMDGPU] Better use of llvm::numbers

Tweak a few constant expressions involving numbers::pi etc to avoid
rounding errors. NFCI though it's possible some of these will now be
more accurate in the last bit.


Compare: https://github.com/llvm/llvm-project/compare/0e0907fa0e25...b28d038ff34d


More information about the All-commits mailing list