[llvm] [InstSimplify] Optimize maximumnum and minimumnum (PR #139581)

Lewis Crawford via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 28 02:53:13 PDT 2025


LewisCrawford wrote:

Here is the NVPTX maximumnum ISel patch I mentioned above: [#155804](https://github.com/llvm/llvm-project/pull/155804)

I think we'll need to land this InstSimplify patch, the above ISel patch, and maybe a couple of other improvements like better SelectionDAG expansion of v2f16 `maximumnum` calls in ISel before we'd be fully ready to use `llvm.maximumnum` for `nvvm.fmax`, but we're getting closer.

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


More information about the llvm-commits mailing list