diff options
author | Lei Zhang <antiagainst@google.com> | 2022-10-27 14:31:21 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2022-10-27 14:36:07 -0400 |
commit | 7841f557ea3df1987ceb1c033e458790f5828795 (patch) | |
tree | 9b8207aa19583709bc540ca437d173737ba0fc9d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | dad64448c66975054d3d968232652a56eb93b451 (diff) | |
download | llvm-7841f557ea3df1987ceb1c033e458790f5828795.zip llvm-7841f557ea3df1987ceb1c033e458790f5828795.tar.gz llvm-7841f557ea3df1987ceb1c033e458790f5828795.tar.bz2 |
[mlir][spirv] Add target control to UnifyAliasedResourcePass
The UnifyAliasedResourcePass is actually only necessary for
targeting Apple GPUs via MoltenVK, where we need to translate
SPIR-V into MSL. The translation has limitations--no support
of aliased resources. So introducing a control to disable
this pass if targeting other platforms.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D136869
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions