[PATCH] D28883: DAG: Recognize no-signed-zeros-fp-math attribute
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 18 17:22:57 PST 2017
arsenm created this revision.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, wdng, mehdi_amini.
clang already emits this with -cl-no-signed-zeros, but codegen
doesn't do anything with it. Treat it like the other fast math
attributes, and change one place to use it.
https://reviews.llvm.org/D28883
Files:
include/llvm/CodeGen/CommandFlags.h
include/llvm/Target/TargetOptions.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/TargetMachine.cpp
test/CodeGen/AMDGPU/enable-no-signed-zeros-fp-math.ll
test/CodeGen/AMDGPU/fsub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28883.84916.patch
Type: text/x-patch
Size: 7579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/286d7d39/attachment-0001.bin>
More information about the llvm-commits
mailing list