[PATCH] D40514: AMDGPU: Restrict ieee_mode to HSA.

Jan Vesely via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 12:23:26 PST 2017


jvesely created this revision.
Herald added subscribers: t-tye, Anastasia, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

ieee_mode specificaly governs behaviour of SNaNs.
OpenCL does not want this, OpenGL does not care.
Let's just disable it for everything but HSA compute.


Repository:
  rL LLVM

https://reviews.llvm.org/D40514

Files:
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  test/CodeGen/AMDGPU/default-fp-mode.ll
  test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
  test/CodeGen/AMDGPU/hsa-fcanonicalize-elimination.ll
  test/CodeGen/AMDGPU/hsa-omod.ll
  test/CodeGen/AMDGPU/omod.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40514.124438.patch
Type: text/x-patch
Size: 61707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171127/74f5c87e/attachment.bin>


More information about the llvm-commits mailing list