summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2019-08-06 10:43:13 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2019-08-06 10:43:13 +0000
commit7b24dd741c6c4734f8cf5b9fafc12bf9e38411d6 (patch)
tree07455d7a1e185dccf74ccef26d32310ff0466911 /llvm/lib/Support
parentcb4327d7db207ae91b821950d6b6a7afdb5a3bf2 (diff)
downloadbcm5719-llvm-7b24dd741c6c4734f8cf5b9fafc12bf9e38411d6.tar.gz
bcm5719-llvm-7b24dd741c6c4734f8cf5b9fafc12bf9e38411d6.zip
[Strict FP] Allow custom operation actions
This patch changes the DAG legalizer to respect the operation actions set by the target for strict floating-point operations. (Currently, the legalizer will usually fall back to mutate to the non-strict action (which is assumed to be legal), and only skip mutation if the strict operation is marked legal.) With this patch, if whenever a strict operation is marked as Legal or Custom, it is passed to the target as usual. Only if it is marked as Expand will the legalizer attempt to mutate to the non-strict operation. Note that this will now fail if the non-strict operation is itself marked as Custom -- the target will have to provide a Custom definition for the strict operation then as well. Reviewed By: hfinkel Differential Revision: https://reviews.llvm.org/D65226 llvm-svn: 368012
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud