[PATCH] D78689: Isolate zero_whitespace parser test into its own file.

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 20:06:37 PDT 2020


silvas added a comment.

zero_whitespace.mlir looks like this:

  // RUN: mlir-opt %s | FileCheck %s
  
  // 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.
  
  // CHECK-LABEL: func @zero_whitespace() {
  // CHECK-NEXT: return
  func @zero_whitespace() {
    ^@  // This is a \0 byte.
    return
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78689/new/

https://reviews.llvm.org/D78689





More information about the llvm-commits mailing list