[PATCH] D126692: [InstCombine] Expand select+masked_load combine to include FP splats of -0.0

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 05:52:12 PDT 2022


david-arm added a comment.

In D126692#3547055 <https://reviews.llvm.org/D126692#3547055>, @nikic wrote:

> Can this be based on nsz FMF instead?

I guess it depends what other reviewers think about this patch and whether it's useful or not. Another way of achieving the same result is to ensure the vectoriser uses a splat of +0.0 for the select when the nsz flag is set.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126692/new/

https://reviews.llvm.org/D126692



More information about the llvm-commits mailing list