[all-commits] [llvm/llvm-project] 5f86a3: [AMDGPU] Handle high element extraction with G_UNM...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Tue May 12 06:43:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f86a378a3a010897e96a9b390418cacd45dca83
      https://github.com/llvm/llvm-project/commit/5f86a378a3a010897e96a9b390418cacd45dca83
  Author: Igor Wodiany <igor.wodiany at amd.com>
  Date:   2026-05-12 (Tue, 12 May 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/test/CodeGen/AMDGPU/fptosi-sat-vector.ll
    M llvm/test/CodeGen/AMDGPU/fptoui-sat-vector.ll

  Log Message:
  -----------
  [AMDGPU] Handle high element extraction with G_UNMERGE_VALUES (#188287)

This allows to detect when G_UNMERGE_VALUES extracts a hi16 element and
select `s_cvt_hi_f32_f16` removing need for a shift.



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