projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
176a082
)
Remove useless / untested verifier in scf.foreach_thread (NFC)
author
Mehdi Amini
<joker.eph@gmail.com>
Tue, 17 Jan 2023 11:36:54 +0000
(11:36 +0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Thu, 19 Jan 2023 19:54:10 +0000
(19:54 +0000)
mlir/lib/Dialect/SCF/IR/SCF.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/SCF/IR/SCF.cpp
b/mlir/lib/Dialect/SCF/IR/SCF.cpp
index
af2adb9
..
18c3e7a
100644
(file)
--- a/
mlir/lib/Dialect/SCF/IR/SCF.cpp
+++ b/
mlir/lib/Dialect/SCF/IR/SCF.cpp
@@
-1110,10
+1110,6
@@
Speculation::Speculatability ForOp::getSpeculatability() {
//===----------------------------------------------------------------------===//
LogicalResult ForeachThreadOp::verify() {
- // Call terminator's verify to produce most informative error messages.
- if (failed(getTerminator().verify()))
- return failure();
-
// Check number of outputs.
if (getNumResults() != getOutputs().size())
return emitOpError("produces ")