aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-01-16 13:26:39 +0100
committerGitHub <noreply@github.com>2024-01-16 13:26:39 +0100
commite2bb47caa69f393b011c2d8e3295587ae35699b5 (patch)
tree67ffd44053ddbb1e5fe7434764cdd830e81388ca /clang/lib/CodeGen/CodeGenModule.cpp
parentb1eaffd389045827a649b95726824bfc5d0de0fd (diff)
downloadllvm-e2bb47caa69f393b011c2d8e3295587ae35699b5.zip
llvm-e2bb47caa69f393b011c2d8e3295587ae35699b5.tar.gz
llvm-e2bb47caa69f393b011c2d8e3295587ae35699b5.tar.bz2
[mlir][Arm] Fix invalid rewrite pattern API violations (#78246)
This commit fixes rewrite pattern API violations: * Rewrite pattern must return "failure" if the IR was not modified. * In-place op modifications must be communicated to the rewriter (`updateRootInPlace`). This commit fixes `test/Dialect/ArmSVE/legalize-vector-storage.mlir`, `test/Dialect/ArmSME/vector-ops-to-llvm.mlir`, `test/Dialect/ArmSME/tile-allocation-invalid.mlir`, `test/Conversion/ArmSMEToLLVM/arm-sme-to-llvm.mlir`, `test/Conversion/ArmSMEToLLVM/tile-spills-and-fills.mlir`, `test/Conversion/ArmSMEToLLVM/unsupported.mlir` when running with `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS`. --------- Co-authored-by: Benjamin Maxwell <macdue@dueutil.tech>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions