aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ProgramStackTest.cpp
diff options
context:
space:
mode:
authormssefat <42645939+mssefat@users.noreply.github.com>2025-04-30 17:36:46 -0500
committerGitHub <noreply@github.com>2025-04-30 17:36:46 -0500
commit71039bbc581b59bdec25ed1e1d4cc6e772d5bb0c (patch)
tree9ca46d0ad020095a49968b268603f2460da50f5f /llvm/unittests/Support/ProgramStackTest.cpp
parent1495d132db1d26b086d2ea6b1b9c397bf4ea4a7d (diff)
downloadllvm-71039bbc581b59bdec25ed1e1d4cc6e772d5bb0c.zip
llvm-71039bbc581b59bdec25ed1e1d4cc6e772d5bb0c.tar.gz
llvm-71039bbc581b59bdec25ed1e1d4cc6e772d5bb0c.tar.bz2
[AMDGPU] Fix register class constraints for si-fold-operands pass when folding immediate into copies (#131387)
Fixes https://github.com/llvm/llvm-project/issues/130020 This fixes an issue where the si-fold-operands pass would incorrectly fold immediate values into COPY instructions targeting av_32 registers. The pass now checks register class constraints before attempting to fold the immediate.
Diffstat (limited to 'llvm/unittests/Support/ProgramStackTest.cpp')
0 files changed, 0 insertions, 0 deletions