InstCombine: Add baseline test for pattern in clang's isnormal
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 3 Dec 2022 20:47:58 +0000 (15:47 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 19 Dec 2022 12:26:52 +0000 (07:26 -0500)
commitb421125524a5933a2f315fae90f9408d0c1a8e33
tree99349b186c7c07dd6c85ef5744a031b965123116
parentec87b7231586865f7b0adfe22a0d056e40ae9264
InstCombine: Add baseline test for pattern in clang's isnormal

Clang emits this peculiar pattern as an isfinite check in
__builtin_isnormal which can be simplified. We should fix clang to
emit this in the first place, but should also fold it here.
llvm/test/Transforms/InstCombine/and-fcmp.ll