[PATCH] D96648: [InstCombine] fold fdiv with pow divisor (PR49147)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 13 08:30:38 PST 2021


lebedev.ri added a comment.

Hm, alive2 doesn't support fast-math flags still?
Filed https://github.com/AliveToolkit/alive2/issues/667

This seems fine to me.



================
Comment at: llvm/test/Transforms/InstCombine/fdiv.ll:698
   %p = call fast float @llvm.pow.f32(float %x, float %y)
   %r = fdiv reassoc float %z, %p
   ret float %r
----------------
Might be worth duplicating the test with `reassoc` missing instead?


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

https://reviews.llvm.org/D96648



More information about the llvm-commits mailing list