From 7b5497f25857c52c514477f0c7cb4e3c26ac1873 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 22 Apr 2020 19:56:59 -0700 Subject: [PATCH] Isolate zero_whitespace parser test into its own file. Summary: This test is in a different file because it contains a literal NUL character, which causes various tools to treat it as a binary file. Hence it is useful to have this test kept in a separate, rarely-changing file. Differential Revision: https://reviews.llvm.org/D78689 --- mlir/test/IR/parser.mlir | 7 ------- mlir/test/IR/zero_whitespace.mlir | Bin 0 -> 391 bytes 2 files changed, 7 deletions(-) create mode 100644 mlir/test/IR/zero_whitespace.mlir diff --git a/mlir/test/IR/parser.mlir b/mlir/test/IR/parser.mlir index a42bf32..585f7de 100644 --- a/mlir/test/IR/parser.mlir +++ b/mlir/test/IR/parser.mlir @@ -1224,10 +1224,3 @@ func @pretty_names() { // CHECK: return return } - -// CHECK-LABEL: func @zero_whitespace() { -// CHECK-NEXT: return -func @zero_whitespace() { - // This is a \0 byte. - return -} diff --git a/mlir/test/IR/zero_whitespace.mlir b/mlir/test/IR/zero_whitespace.mlir new file mode 100644 index 0000000000000000000000000000000000000000..eb5de67747f34e692dc20430a6a38c46f93a2115 GIT binary patch literal 391 zcmZ{gPfNrw5XC+BQ@o3yu-$s@NiCHHOAoRO9t4?<({0$8mSnn8|9p2R6}@>$$nf6# zy-88vVb_*;bvER~C^(P!#GQ3q^=yv%%(9}uwzm<&QJ}Z=AiUVFvo-g*l2!da)7 z4STbYw2Lyk$t6!uCx-m>JhCpcG>tqeR(OR#f!&;I4S%rykg`(w^|E5MsjK_Exw);I z65ZqtuHQKf&)QTMAIb2=B|ehpN7>eo+Y*6g3O@T^51avNT7FOq6P~WHpGB$ob$?~w Dc!__U literal 0 HcmV?d00001 -- 2.7.4