[PATCH] D139772: InstSimplify: Add basic folding of llvm.is.fpclass intrinsic

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 10 09:01:40 PST 2022


arsenm added a comment.

In D139772#3986454 <https://reviews.llvm.org/D139772#3986454>, @tschuett wrote:

> Are there any plans for a `Mask2Enum` function such that your code could become a switch statement?

I don't see how that would help here. Each bit test needs to be performed in sequence, it's not a simple enum mapping


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

https://reviews.llvm.org/D139772



More information about the llvm-commits mailing list