[PATCH] D28540: [NVPTX] Added support for half-precision floating point.

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 11:35:38 PST 2017


tra updated this revision to Diff 84338.
tra marked 11 inline comments as done.
tra added a comment.

Set unsafe-fp-math attribute on test cases that use sin/cos, so LLVM can lower them. These tests only care whether fp16->fp32->fp16 conversion happens.
Updated comments to according to Justin's suggestions.


https://reviews.llvm.org/D28540

Files:
  lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp
  lib/Target/NVPTX/NVPTX.h
  lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  lib/Target/NVPTX/NVPTXISelDAGToDAG.h
  lib/Target/NVPTX/NVPTXISelLowering.cpp
  lib/Target/NVPTX/NVPTXISelLowering.h
  lib/Target/NVPTX/NVPTXInstrInfo.cpp
  lib/Target/NVPTX/NVPTXInstrInfo.td
  lib/Target/NVPTX/NVPTXIntrinsics.td
  lib/Target/NVPTX/NVPTXMCExpr.cpp
  lib/Target/NVPTX/NVPTXMCExpr.h
  lib/Target/NVPTX/NVPTXRegisterInfo.cpp
  lib/Target/NVPTX/NVPTXRegisterInfo.td
  lib/Target/NVPTX/NVPTXSubtarget.cpp
  lib/Target/NVPTX/NVPTXSubtarget.h
  test/CodeGen/NVPTX/f16-instructions.ll
  test/CodeGen/NVPTX/half.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28540.84338.patch
Type: text/x-patch
Size: 92078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/cc08327e/attachment-0001.bin>


More information about the llvm-commits mailing list