[PATCH] D147945: [AArch64] Add a basic pattern for FACGE and FACGT

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 09:29:32 PDT 2023


bipmis added a comment.

LGTM for the Vector Change.
Should this also be handled for the scalar equivalent  as below

  %abs1.i = tail call float @llvm.fabs.f32(float %a)
  %abs1.i2 = tail call float @llvm.fabs.f32(float %b)
  %cmp = fcmp oge float %abs1.i, %abs1.i2
  %sext = sext i1 %cmp to i32
  ret i32 %sext


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

https://reviews.llvm.org/D147945



More information about the llvm-commits mailing list