diff options
author | Markus Böck <markus.bock+llvm@nextsilicon.com> | 2023-07-07 11:09:35 +0200 |
---|---|---|
committer | Markus Böck <markus.bock+llvm@nextsilicon.com> | 2023-07-10 08:56:50 +0200 |
commit | fd5387f44f0f1886a5509baa563e2b8e53e67453 (patch) | |
tree | 87dca9cc6179689452d22fce5861d9b7d41745ea /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f653d14065a362c98114082c4e9a3b1ede7a90f5 (diff) | |
download | llvm-fd5387f44f0f1886a5509baa563e2b8e53e67453.zip llvm-fd5387f44f0f1886a5509baa563e2b8e53e67453.tar.gz llvm-fd5387f44f0f1886a5509baa563e2b8e53e67453.tar.bz2 |
[mlir][LLVM] Add `BitcastStores` type-consistency pattern
Current patterns attempt to immediately create type-consistent stores by bitcasting the value to the type-hint leading to needless code duplication.
This patch extracts that case into its own pattern, allowing other patterns to create type-inconsistent stores and have subsequent pattern applications turn it into a type-consistent store.
Differential Revision: https://reviews.llvm.org/D154587
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions