diff options
author | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2023-08-30 12:52:46 +0000 |
---|---|---|
committer | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2023-08-30 12:59:48 +0000 |
commit | 5f230ed762de050317a12bba56aadf8826a9b085 (patch) | |
tree | 4d32c40dc8884493f2fb0bdbb53283f21e1f6926 /llvm/lib/TextAPI/InterfaceFile.cpp | |
parent | 376050db9f2ae15a30b8882d9613d981bd86eefa (diff) | |
download | llvm-5f230ed762de050317a12bba56aadf8826a9b085.zip llvm-5f230ed762de050317a12bba56aadf8826a9b085.tar.gz llvm-5f230ed762de050317a12bba56aadf8826a9b085.tar.bz2 |
[mlir][llvm] Translate alias scopes lazily
Change the LLVM dialect to LLVM IR translation to convert the alias
scope attributes lazily to LLVM IR metadata. Previously, the alias
scopes have been translated upfront walking the alias scopes of
operations that implement the AliasAnalysisOpInterface. As a result,
the translation of a module that contains only a noalias scope
intrinsic failed, since its alias scope attribute has not been
translated due to the intrinsic not implementing
AliasAnalysisOpInterface.
Reviewed By: zero9178
Differential Revision: https://reviews.llvm.org/D159187
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions