[all-commits] [llvm/llvm-project] 722c2f: [ExpandIRInsts] Support int bw < float bw in itofp...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 5 08:26:35 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 722c2f022149a5fc971a2869e54ebb8fa387e574
      https://github.com/llvm/llvm-project/commit/722c2f022149a5fc971a2869e54ebb8fa387e574
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M llvm/lib/CodeGen/ExpandIRInsts.cpp
    M llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll

  Log Message:
  -----------
  [ExpandIRInsts] Support int bw < float bw in itofp expansion (#179963)

Handle this case by extending the integer to a wider type. This can
probably be handled more optimally, but this is conservatively correct.

Proof: https://alive2.llvm.org/ce/z/0RwDO1



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