[all-commits] [llvm/llvm-project] 67094a: [X86] Fix assertion when lowering FP_ROUND (#185562)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Mar 10 14:25:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67094a4e643203281ecaef761b564786e4e3cca8
      https://github.com/llvm/llvm-project/commit/67094a4e643203281ecaef761b564786e4e3cca8
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
    M llvm/test/CodeGen/X86/vector-half-conversions.ll

  Log Message:
  -----------
  [X86] Fix assertion when lowering FP_ROUND (#185562)

443ce5569ee9854cfef1139cf6b9cf05165e0902 caused us to start hitting
assertions with non-standard vector widths (<3 x float>) in this case
now that node types are actually enforced. There was a place in
X86ISelLowering.cpp where we just passed along a 64-bit integer whereas
other places constructing a CVTPS2PH node specifically construct a new
integer.



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