Fix review comments from https://reviews.llvm.org/D146252
Merge WhileRemoveUnusedArgs pattern with (unused) WhileUnusedArg,
use getConditionOp, use SmallPtrSet and early check, move tests
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 3771 | Was this dead code because redundant with the early exit at the beginning of the function? | |
| mlir/lib/Dialect/SCF/IR/SCF.cpp | ||
|---|---|---|
| 3771 | Yes, it was checking the same thing as early check. | |
Was this dead code because redundant with the early exit at the beginning of the function?