[clang] [llvm] [InstCombine] Canonicalize `(sitofp x)` -> `(uitofp x)` if `x >= 0` (PR #82404)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 21 08:55:22 PDT 2024


goldsteinn wrote:

See: https://github.com/llvm/llvm-project/pull/86141 which adds `nneg` flag to IR. Once that gets in I have patches for instcombine,cvp,sccp to do the transform.

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


More information about the cfe-commits mailing list