brintos

brintos / llvm-project-archived public Read only

0
0
Text · 499 B · 25ea8eb Raw
19 lines · plain
1// RUN: mlir-opt %s -test-lower-to-llvm | \2// RUN: mlir-runner -e entry -entry-point-result=void \3// RUN: -shared-libs=%mlir_c_runner_utils | \4// RUN: FileCheck %s5 6func.func @entry() {7  %v0 = arith.constant dense<[1, 2, 3, 4]> : vector<4xi8>8  vector.print %v0 : vector<4xi8>9  // CHECK: ( 1, 2, 3, 4 )10 11  %v1, %v2 = vector.deinterleave %v0 : vector<4xi8> -> vector<2xi8>12  vector.print %v1 : vector<2xi8>13  vector.print %v2 : vector<2xi8>14  // CHECK: ( 1, 3 )15  // CHECK: ( 2, 4 )16 17  return18}19