InstCombine: Fold is.fpclass(x, fcZero) to fcmp oeq 0
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 11 Nov 2022 00:15:34 +0000 (16:15 -0800)
committerMatt Arsenault <arsenm2@gmail.com>
Wed, 15 Feb 2023 09:21:00 +0000 (05:21 -0400)
commitdf78976d023a6b7fcf64bc695261b7b402fcede0
tree5bd97aefe47dbe93276043cf97342335cf156a37
parent8f7e7400b74b362251dcf155e45f4097fd574196
InstCombine: Fold is.fpclass(x, fcZero) to fcmp oeq 0

This requires the denormal mode to definitively be IEEE handling.
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/is_fpclass.ll