[PATCH] D155436: InstSimplify: Handle basic folds for frexp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 17 05:08:01 PDT 2023


arsenm added a comment.

In D155436#4505550 <https://reviews.llvm.org/D155436#4505550>, @arsenm wrote:

> Use 0 instead of undef, fix breaking overflow intrinsic handling

APFloat actually uses INT_MIN and INT_MAX, but 0 seems better? I don't know why this isn't just specified to return the maximum exponent


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

https://reviews.llvm.org/D155436



More information about the llvm-commits mailing list