[PATCH] D149587: InstSimplify: Simplifications for ldexp

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 03:06:54 PDT 2023


foad added inline comments.


================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:6034
+
+  // ldexp(x, 0) -> x
+  if (match(Op1, PatternMatch::m_ZeroInt()))
----------------
Why is this not strictfp-safe?


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

https://reviews.llvm.org/D149587



More information about the llvm-commits mailing list