[all-commits] [llvm/llvm-project] 8baa21: [DirectX] Handle <1 x ...> loads in DXILResourceAc...
Justin Bogner via All-commits
all-commits at lists.llvm.org
Thu Apr 24 13:17:32 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8baa212b7aef800a0f7d9abad529a3976bef9d50
https://github.com/llvm/llvm-project/commit/8baa212b7aef800a0f7d9abad529a3976bef9d50
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
M llvm/test/CodeGen/DirectX/ResourceAccess/load_typedbuffer.ll
Log Message:
-----------
[DirectX] Handle <1 x ...> loads in DXILResourceAccess (#137076)
We can end up with loads of single element vectors when we have scalar
values, because the vectorizer may introduce these to use ops like
shufflevector in some cases. Make sure we're maintaining the correct
type when translating these into resource load operations.
Fixes #136409.
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