diff options
author | Lei Zhang <antiagainst@google.com> | 2021-07-29 20:21:44 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2021-07-30 18:06:10 -0400 |
commit | 9f5300c8be4576d93256b88d195a1eb44de189f6 (patch) | |
tree | 00b13d2d796a654b3fda70e1fdc2805e18994e0e /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 567c8c7bfd7a0bbafa84171e5edcc3e79fe5f8ca (diff) | |
download | llvm-9f5300c8be4576d93256b88d195a1eb44de189f6.zip llvm-9f5300c8be4576d93256b88d195a1eb44de189f6.tar.gz llvm-9f5300c8be4576d93256b88d195a1eb44de189f6.tar.bz2 |
[mlir][spirv] Fix storing bool with proper storage capabilities
If the source value to store is bool, and we have native storage
capability support for the target bitwidth, we still cannot directly
store; we need to perform casting to match the target memref
element's bitwidth.
Reviewed By: hanchung
Differential Revision: https://reviews.llvm.org/D107114
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions