diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-09-28 14:50:44 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-09-28 14:50:44 +0100 |
commit | a08f79d3e01c92859e6b33f602b2be2bb8c52e61 (patch) | |
tree | aa6fe94ea8b3ad841dbda0e354a88f8291d6973d /test/Standalone/dummy.mlir | |
download | gsa-mlir-a08f79d3e01c92859e6b33f602b2be2bb8c52e61.tar.gz gsa-mlir-a08f79d3e01c92859e6b33f602b2be2bb8c52e61.zip |
Add initial files
Diffstat (limited to 'test/Standalone/dummy.mlir')
-rw-r--r-- | test/Standalone/dummy.mlir | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Standalone/dummy.mlir b/test/Standalone/dummy.mlir new file mode 100644 index 0000000..ada4280 --- /dev/null +++ b/test/Standalone/dummy.mlir @@ -0,0 +1,11 @@ +// RUN: standalone-opt %s | standalone-opt | FileCheck %s + +module { + // CHECK-LABEL: func @bar() + func @bar() { + %0 = constant 1 : i32 + // CHECK: %{{.*}} = standalone.foo %{{.*}} : i32 + %res = standalone.foo %0 : i32 + return + } +} |