Files
clang-p2996/mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
Andrzej Warzyński 435114f9fe [mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)
To keep the test filenames consistent, this patch:
  * removes "test-" from  file names (there used to be a mix of
    "test-feature-1.mlir" and "feature-2.mlir"),
  * replaces "_" with "-" (there used to be a mix of "feature-3.mlir"
    and "feature_4.mlir").

Only files under test/Integration/Dialect/Vector/CPU are updated.
2024-05-30 18:06:43 +01:00

15 lines
403 B
MLIR

// RUN: mlir-opt %s -test-lower-to-llvm | \
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils | \
// RUN: FileCheck %s
/// This tests printing (multiple) string literals works.
func.func @entry() {
// CHECK: Hello, World!
vector.print str "Hello, World!\n"
// CHECK-NEXT: Bye!
vector.print str "Bye!\n"
return
}