diff options
author | Lei Zhang <antiagainst@google.com> | 2022-06-23 22:19:08 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2022-06-23 22:19:08 -0400 |
commit | b2671d8898e9f5aa66930ed17f9a3f108c6a9ab4 (patch) | |
tree | db8952197090b1ada703212615178348fa6e806a /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 9aaba9d9bb4fc3648a9417820858086b14b6b73e (diff) | |
download | llvm-b2671d8898e9f5aa66930ed17f9a3f108c6a9ab4.zip llvm-b2671d8898e9f5aa66930ed17f9a3f108c6a9ab4.tar.gz llvm-b2671d8898e9f5aa66930ed17f9a3f108c6a9ab4.tar.bz2 |
[mlir][spirv] Fix bitcast input order for UnifyAliasedResourcePass
spv.bitcast from a vector to a scalar expects the lower-numbered
components of the the vector to map to the lower-ordered bits of
the scalar. That actually already matches how little endian stores
data in the memory. So we just need to read and push to the back
of the vector sequentially.
Reviewed By: hanchung
Differential Revision: https://reviews.llvm.org/D128473
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions