[all-commits] [llvm/llvm-project] 6d4bb2: [X86] Invalid fp16 comparison fix (#160304)

azwolski via All-commits all-commits at lists.llvm.org
Tue Sep 23 08:25:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d4bb2088818784c89eea8ecc799852ea48e086b
      https://github.com/llvm/llvm-project/commit/6d4bb2088818784c89eea8ecc799852ea48e086b
  Author: azwolski <antoni.zwolski at intel.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/test/CodeGen/X86/pr159723.ll

  Log Message:
  -----------
  [X86] Invalid fp16 comparison fix (#160304)

Missing `VCMPPHZrrik`, `VCMPPHZ128rrik`, and `VCMPPHZ256rrik` opcodes in
`commuteInstructionImpl` and `findCommutedOpIndices` led to improper
handling of compare instruction during optimization. Operands were
commuted, but swapping of the immediate was not called.
 
 Fixes: #159723



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