[llvm] Added ISD::FMAXIMUM/ISD::FMINIMUM + ISD::FMAXIMUMNUM/ISD::FMINIMUMNUM (PR #190465)

Kartik Ohlan via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 5 09:59:02 PDT 2026


Ko496-glitch wrote:




> > @RKSimon could you point me to any file i can use as a reference for denormal test coverage, i am kind of confuse on how tests should cover different modes like FTZ/DAZ ?
> 
> A good trick to try would be to disable the minmax cases in valuetracking, run `ninja check-llvm-transforms` and `ninja check-llvm-analysis`, see what tests change in that implementation and review how that test IR worked

ninja check-llvm-tranforms gave following files :

1. llvm/test/Transforms/Attributor/nofpclass-minimumnum-maximumnum.ll
2. llvm/test/Transforms/Attributor/nofpclass-minimum-maximum.ll
3. llvm/test/Transforms/Inline/simplify-instruction-computeKnownFPClass-context.ll
4. llvm/test/Transforms/InstCombine/is_fpclass.ll
5. llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
6. llvm/test/Transforms/InstSimplify/floating-point-compare.ll
7. llvm/test/Transforms/InstSimplify/known-never-infinity.ll


I have added only for minimum if that looks good i can add for other variants

https://github.com/llvm/llvm-project/pull/190465


More information about the llvm-commits mailing list