[PATCH] D24808: [AArch64] Avoid materializing 0.0 when generating FP CSEL
Evandro Menezes via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 09:39:06 PDT 2016
evandro created this revision.
evandro added reviewers: t.p.northover, jmolloy, mcrosier, efriedma, ab, silviu.baranga.
evandro added a subscriber: llvm-commits.
evandro set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D24808
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/fcsel-zero.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24808.72075.patch
Type: text/x-patch
Size: 3937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160921/7bffa6fd/attachment.bin>
More information about the llvm-commits
mailing list