diff options
author | Evandro Menezes <e.menezes@samsung.com> | 2016-10-18 20:37:35 +0000 |
---|---|---|
committer | Evandro Menezes <e.menezes@samsung.com> | 2016-10-18 20:37:35 +0000 |
commit | ce8d60156c2bd6754f760cd0186017ae6af6ee0a (patch) | |
tree | dafb113db9e33b7b38a8ff7e0a499548e2f8ef11 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | fccb5128b2019ee8fcb0acd4d00143ce14f008af (diff) | |
download | bcm5719-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