[PATCH] D30209: AMDGPU: Fold omod into instructions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 19:05:02 PST 2017


arsenm updated this revision to Diff 89459.
arsenm added a comment.

Don't fold if IEEE bit is set. Don't fold unless no-signed-zeros-fp-math is enabled


https://reviews.llvm.org/D30209

Files:
  lib/Target/AMDGPU/AMDGPUCallingConv.td
  lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
  lib/Target/AMDGPU/AMDGPUMachineFunction.h
  lib/Target/AMDGPU/SIFoldOperands.cpp
  test/CodeGen/AMDGPU/clamp-omod-special-case.mir
  test/CodeGen/AMDGPU/omod.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30209.89459.patch
Type: text/x-patch
Size: 31841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170223/bb9beb0f/attachment-0001.bin>


More information about the llvm-commits mailing list