diff options
author | Alex Zinenko <zinenko@google.com> | 2022-03-01 14:15:13 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2022-03-01 14:16:09 +0100 |
commit | 5c73db24df14501e1a76ef2e31111562a3a3287d (patch) | |
tree | c812f8ec1e6ea4f4465c284e630f3547bb1d2b1f /clang/lib/Lex/ModuleMap.cpp | |
parent | b3f1480204e33865ea47363224a50280b870559b (diff) | |
download | llvm-5c73db24df14501e1a76ef2e31111562a3a3287d.zip llvm-5c73db24df14501e1a76ef2e31111562a3a3287d.tar.gz llvm-5c73db24df14501e1a76ef2e31111562a3a3287d.tar.bz2 |
[mlir] disallow side-effecting ops in llvm.mlir.global
The llvm.mlir.global operation accepts a region as initializer. This region
corresponds to an LLVM IR constant expression and therefore should not accept
operations with side effects. Add a corresponding verifier.
Reviewed By: wsmoses, bondhugula
Differential Revision: https://reviews.llvm.org/D120632
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions