[PATCH] D150074: InstCombine: Handle shrinking fneg used by fptrunc

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 06:37:07 PDT 2023


arsenm added a comment.

In D150074#4329515 <https://reviews.llvm.org/D150074#4329515>, @foad wrote:

>> This would have regressed when the fsub special case was dropped
>
> What happened? Got a link to a patch?

fneg used to not exist and we had fsub -0, x = "fneg"


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

https://reviews.llvm.org/D150074



More information about the llvm-commits mailing list