[llvm] [CodeGen] computeRegisterProperties - fix `bf16` to `i16` bitcast quieting NaNs (PR #224867)
Folkert de Vries via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 12:05:48 PDT 2026
================
@@ -571,6 +571,12 @@ class LLVM_ABI TargetLoweringBase {
// values are always passed and returned as f32.
virtual bool useFPRegsForHalfType() const { return false; }
----------------
folkertdev wrote:
It seems to work (if I understood you correctly and to basically use the riscv apprach on arm too). It seems to improve the generated code even.
https://github.com/llvm/llvm-project/pull/224867
More information about the llvm-commits
mailing list