[llvm] [InstSimplify] Enable FAdd simplifications when user can ignore sign bit (PR #157757)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 10 09:30:15 PDT 2025


dtcxzyw wrote:

> Made the changes as proposed, also changed canIgnoreSignBitOfNaN for uniformity.

This reverts the previous change asked by https://github.com/llvm/llvm-project/pull/141015#discussion_r2102772571 :)
You should put your code in InstCombine instead of InstSimplify, if it checks the users.


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


More information about the llvm-commits mailing list