[llvm] X86: don't fallback to X86-32 calling convention in 64bit mode. (PR #225820)

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 19:23:48 PDT 2026


jyknight wrote:

OK, I can do that.

But, do note that using the x87 stack introduces spurious conversions when returning f32/f64 values, e.g. from f32->f80->f32, which can trigger unsound optimizer behavior if anything returns an sNaN value. This was already a known defect for x86-32 (#66803, which I'm going to attempt to fix). But, it had previously not been thought to be an issue for x86-64. 

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


More information about the llvm-commits mailing list