summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2016-10-18 20:37:35 +0000
committerEvandro Menezes <e.menezes@samsung.com>2016-10-18 20:37:35 +0000
commitce8d60156c2bd6754f760cd0186017ae6af6ee0a (patch)
treedafb113db9e33b7b38a8ff7e0a499548e2f8ef11 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentfccb5128b2019ee8fcb0acd4d00143ce14f008af (diff)
downloadbcm5719-llvm-ce8d60156c2bd6754f760cd0186017ae6af6ee0a.tar.gz
bcm5719-llvm-ce8d60156c2bd6754f760cd0186017ae6af6ee0a.zip
[AArch64] Avoid materializing 0.0 when generating FP SELECT
Transform `a == 0.0 ? 0.0 : x` to `a == 0.0 ? a : x` and `a != 0.0 ? x : 0.0` to `a != 0.0 ? x : a` to avoid materializing 0.0 for FCSEL, since it does not have to be materialized beforehand for FCMP, as it has a form that has 0.0 as an implicit operand. Differential Revision: https://reviews.llvm.org/D24808 llvm-svn: 284531
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud