SuccessChanges

Summary

  1. Typo fix; NFC (details)
  2. [InstSimplify] add tests for fcmp with casted op; NFC (details)
  3. [ValueTracking] enhance isKnownNeverInfinity to understand sitofp (details)
  4. [CostModel] add cl option to check size and latency costs; NFC (details)
Commit de55ebe3bbc77882901ae2b9654503b7611b28f3 by aaron
Typo fix; NFC
The file was modifiedclang/lib/Parse/ParseDecl.cpp
Commit 71f25ac8ca5de44d759da49df5549f3a89c2e536 by spatel
[InstSimplify] add tests for fcmp with casted op; NFC

This shows missing analysis in ValueTracking's isKnownNeverInfinity().
The file was modifiedllvm/test/Transforms/InstSimplify/floating-point-compare.ll
Commit 645c53a9d923c8d7f6a4b49aa02126aec23dc667 by spatel
[ValueTracking] enhance isKnownNeverInfinity to understand sitofp

As discussed in D87877, instcombine already has this fold,
but it was missing from the more general ValueTracking logic.

https://alive2.llvm.org/ce/z/PumYZP
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/floating-point-compare.ll
Commit 816b0a9c9f46cbfce253f49dad7cbf93867307ac by spatel
[CostModel] add cl option to check size and latency costs; NFC

This is a setting used by SimplifyCFG, LoopUnroll, and InlineCost,
but there is apparently no direct test coverage for any of those
cost model values.
The file was addedllvm/test/Analysis/CostModel/X86/fminnum-size-latency.ll
The file was addedllvm/test/Analysis/CostModel/X86/fmaxnum-size-latency.ll
The file was modifiedllvm/lib/Analysis/CostModel.cpp