[NVPTX] Use approximate FP ops when unsafe-fp-math is used, and append
authorJustin Holewinski <jholewinski@nvidia.com>
Mon, 22 Jul 2013 12:18:04 +0000 (12:18 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Mon, 22 Jul 2013 12:18:04 +0000 (12:18 +0000)
commitcd069e6dec8ed0161e1b48c06739cd5b5352c7cb
tree4f6cdf827f65eb914ac7da004b3918765e16df46
parent1ac4824841d00c85ef805816a5f84aaf34ad1466
[NVPTX] Use approximate FP ops when unsafe-fp-math is used, and append
.ftz to instructions if the nvptx-f32ftz attribute is set to "true"

llvm-svn: 186820
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
llvm/test/CodeGen/NVPTX/fast-math.ll [new file with mode: 0644]