[PATCH] D139904: InstCombine: Fold logic of fp_classes together

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 07:52:09 PST 2022


arsenm closed this revision.
arsenm added a comment.

8fc25caae5305b9e4113b9dd5332e7375a5657a6 <https://reviews.llvm.org/rG8fc25caae5305b9e4113b9dd5332e7375a5657a6>

Sunk the call site further down in the function since this is probably colder than anything else here



================
Comment at: llvm/test/Transforms/InstCombine/is_fpclass.ll:1154
   %class1 = call <2 x i1> @llvm.is.fpclass.v2f32(<2 x float> %a, i32 8)
   %xor = or <2 x i1> %class0, %class1
   ret <2 x i1> %xor
----------------
Test bug, should be xor


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

https://reviews.llvm.org/D139904



More information about the llvm-commits mailing list