[all-commits] [llvm/llvm-project] 17c8c1: [AMDGPU] Do not fold into v_accvpr_mov/write/read ...
bcahoon via All-commits
all-commits at lists.llvm.org
Tue Jan 7 07:25:24 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17c8c1c5098bd1fa68809d686867d01d56d5e564
https://github.com/llvm/llvm-project/commit/17c8c1c5098bd1fa68809d686867d01d56d5e564
Author: bcahoon <59846893+bcahoon at users.noreply.github.com>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
A llvm/test/CodeGen/AMDGPU/no-fold-accvgpr-mov.ll
A llvm/test/CodeGen/AMDGPU/no-fold-accvgpr-mov.mir
A llvm/test/CodeGen/AMDGPU/no-fold-accvgpr-read.mir
Log Message:
-----------
[AMDGPU] Do not fold into v_accvpr_mov/write/read (#120475)
In SIFoldOperands, leave copies for moving between agpr and vgpr
registers. The register coalescer is able to handle the copies
more efficiently than v_accvgpr_mov, v_accvgpr_write, and
v_accvgpr_read. Otherwise, the compiler generates unneccesary
instructions such as v_accvgpr_mov a0, a0.
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