[all-commits] [llvm/llvm-project] 125f0a: [ARM][SDAG] Half promote llvm.lrint nodes. (#161088)

David Green via All-commits all-commits at lists.llvm.org
Tue Oct 7 14:05:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 125f0ac75796bc6807c98796bc1c5fff858acc7e
      https://github.com/llvm/llvm-project/commit/125f0ac75796bc6807c98796bc1c5fff858acc7e
  Author: David Green <david.green at arm.com>
  Date:   2025-10-07 (Tue, 07 Oct 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/llrint-conv.ll
    M llvm/test/CodeGen/ARM/lrint-conv.ll
    M llvm/test/CodeGen/ARM/vector-lrint.ll

  Log Message:
  -----------
  [ARM][SDAG] Half promote llvm.lrint nodes. (#161088)

As shown in #137101, fp16 lrint are not handled correctly on Arm. This
adds soft-half promotion for them, reusing the function that promotes a
value with operands (and can handle strict fp once that is added).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list