diff options
| author | River Riddle <riverriddle@google.com> | 2019-10-24 15:00:36 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-10-24 15:01:09 -0700 |
| commit | 2b61b7979eb59df579a3a4bf6fe768ddf2a556f4 (patch) | |
| tree | ecbca8b29c18ac250c144271dae96ed3859d64af /mlir/test/Dialect/LLVMIR | |
| parent | ef43b5653830641766997c10699682f90f1c24da (diff) | |
| download | bcm5719-llvm-2b61b7979eb59df579a3a4bf6fe768ddf2a556f4.tar.gz bcm5719-llvm-2b61b7979eb59df579a3a4bf6fe768ddf2a556f4.zip | |
Convert the Canonicalize and CSE passes to generic Operation Passes.
This allows for them to be used on other non-function, or even other function-like, operations. The algorithms are already generic, so this is simply changing the derived pass type. The majority of this change is just ensuring that the nesting of these passes remains the same, as the pass manager won't auto-nest them anymore.
PiperOrigin-RevId: 276573038
Diffstat (limited to 'mlir/test/Dialect/LLVMIR')
| -rw-r--r-- | mlir/test/Dialect/LLVMIR/terminator.mlir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/Dialect/LLVMIR/terminator.mlir b/mlir/test/Dialect/LLVMIR/terminator.mlir index 9a8f1aaee0d..b8e8fcd486e 100644 --- a/mlir/test/Dialect/LLVMIR/terminator.mlir +++ b/mlir/test/Dialect/LLVMIR/terminator.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt -canonicalize %s | FileCheck %s +// RUN: mlir-opt -pass-pipeline='func(canonicalize)' %s | FileCheck %s // verify that terminators survive the canonicalizer // CHECK-LABEL: @return |

