[llvm] [AMDGPU] Align loop headers to prevent instruction fetch split on GFX950 (PR #181999)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 02:59:05 PST 2026
================
@@ -286,6 +286,11 @@ class SITargetLowering final : public AMDGPUTargetLowering {
EVT PtrVT) const override;
private:
+ /// Returns true if the first real instruction in MBB is 8 bytes and could
+ /// be split by a 32-byte fetch window boundary. Used on GFX950 to avoid
+ /// instruction fetch delays.
+ bool needsFetchWindowAlignment(const MachineBasicBlock *MBB) const;
----------------
michaelselehov wrote:
Done
https://github.com/llvm/llvm-project/pull/181999
More information about the llvm-commits
mailing list