You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[mlir][OpenMP] Fixed internal compiler error with atomic update operation verification
Fixes#61089 by updating the
verification followed like translation from OpenMP+LLVM MLIR
dialect to LLVM IR.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D153217
// expected-error @+2 {{the update operation inside the region must be a binary operation and that update operation must have the region argument as an operand}}
21
+
// expected-error @+2 {{no atomic update operation with region argument as operand found inside atomic.update region}}
24
22
// expected-error @+1 {{LLVM Translation failed for operation: omp.atomic.update}}
// expected-error @+1 {{LLVM Translation failed for operation: omp.atomic.capture}}
39
37
omp.atomic.capturememory_order(seq_cst) {
40
38
omp.atomic.read%v = %x : !llvm.ptr<i32>, i32
41
-
// expected-error @+1 {{the update operation inside the region must be a binary operation and that update operation must have the region argument as an operand}}
39
+
// expected-error @+1 {{no atomic update operation with region argument as operand found inside atomic.update region}}
0 commit comments