[llvm] [InstCombine] Don't fold integer-float bitcasts in store type combining (PR #212423)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 01:23:49 PDT 2026


Andarwinux wrote:

Is it really appropriate to do this in InstCombine? Looks like this is just a regression to all backends in order to mitigate problems in a outdated legacy backend.

https://github.com/llvm/llvm-project/issues/44497#issuecomment-2076201017

>Marking this as an X86 backend issue, as I believe the consensus is that the load/store operations on the IR level are value-preserving (that is, they do not count as "floating-point operations") and the fact that this is not true for x87 needs to be mitigated there (together with the whole host of other problems with similar root cause).

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


More information about the llvm-commits mailing list