[PATCH] D148171: ValueTracking: Implement computeKnownFPClass for fdiv for nan/inf handling

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 03:09:30 PDT 2023


foad added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4514
+
+    const Function *F = cast<Instruction>(Op)->getFunction();
+
----------------
nikic wrote:
> foad wrote:
> > Could it be an FDiv ConstantExpr?
> fdiv is not supported in constant expressions anymore.
Great! I had a quick look but didn't find the commit that removed them, or where to look for an up to date list of supported operators.


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

https://reviews.llvm.org/D148171



More information about the llvm-commits mailing list