aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2022-03-01 14:15:13 +0100
committerAlex Zinenko <zinenko@google.com>2022-03-01 14:16:09 +0100
commit5c73db24df14501e1a76ef2e31111562a3a3287d (patch)
treec812f8ec1e6ea4f4465c284e630f3547bb1d2b1f /clang/lib/Lex/ModuleMap.cpp
parentb3f1480204e33865ea47363224a50280b870559b (diff)
downloadllvm-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