[all-commits] [llvm/llvm-project] 54ee0d: [AMDGPU] Prefer a safe V_PERM_PK16 follower in the...
hidekisaito via All-commits
all-commits at lists.llvm.org
Thu Aug 6 16:36:27 PDT 2026
Branch: refs/heads/users/hidekisaito/perm-pk16-hazard-softcost
Home: https://github.com/llvm/llvm-project
Commit: 54ee0d1bce64fdf81dc9d530c3058a0cdafe3479
https://github.com/llvm/llvm-project/commit/54ee0d1bce64fdf81dc9d530c3058a0cdafe3479
Author: Hideki Saito <hidekido at amd.com>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
A llvm/test/CodeGen/AMDGPU/vperm-pk16-postmisched-hazard.mir
A llvm/test/CodeGen/AMDGPU/vperm-pk16-sched-softcost.mir
Log Message:
-----------
[AMDGPU] Prefer a safe V_PERM_PK16 follower in the scheduler (gfx1250)
Stacked on the post-RA V_PERM_PK16 hazard fixup. V_PERM_PK16 must be
immediately followed by a "safe" instruction (see
SIInstrInfo::isVPermPk16SafeInstr) or the post-RA fixup has to insert a
forced-EXEC V_NOP. Teach GCNHazardRecognizer to bias a safe follower into
the slot right after a V_PERM_PK16 so that V_NOP can be avoided.
Assisted-by: Opus 4.8 Medium
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