[all-commits] [llvm/llvm-project] d1dc84: [AMDGPU] Enable sinking of free vector ops that wi...
Gheorghe-Teodor Bercea via All-commits
all-commits at lists.llvm.org
Mon Feb 9 11:14:55 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1dc843c18a670ec4fce747b92401faaf95b01ba
https://github.com/llvm/llvm-project/commit/d1dc843c18a670ec4fce747b92401faaf95b01ba
Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/test/CodeGen/AMDGPU/loop-vector-sink.ll
M llvm/test/CodeGen/AMDGPU/undef-handling-crash-in-ra.ll
Log Message:
-----------
[AMDGPU] Enable sinking of free vector ops that will be folded into their uses (#162580)
Sinking ShuffleVectors / ExtractElement / InsertElement into user blocks
can help enable SDAG combines by providing visibility to the values
instead of emitting CopyTo/FromRegs. The sink IR pass disables sinking
into loops, so this PR extends the CodeGenPrepare target hook
shouldSinkOperands.
Co-authored-by: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
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