[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 11:21:02 PDT 2016


evandro added a comment.

In https://reviews.llvm.org/D24808#548901, @MatzeB wrote:

> Wouldn't this work with any constant? Should we consider it for the common DAGCombiner?


It might, but AArch64 doesn't materialize 0.0 explicitly when comparing against it (e.g., `fcmp d0, #0.0`), so it was my initial focus.  Also, because it seems to be the most common value with `CSEL`.

I'll investigate it further.


Repository:
  rL LLVM

https://reviews.llvm.org/D24808





More information about the llvm-commits mailing list