1// RUN: mlir-opt --test-constant-fold %s | FileCheck %s
2
3// CHECK-LABEL: func @test_const
4func @test_const(%arg0 : index) -> tensor<4xi32> {
5  // CHECK: "tosa.const"
6  %0 = "tosa.const"() {value = dense<[3, 0, 1, 2]> : tensor<4xi32>} : () -> tensor<4xi32>
7  return %0 : tensor<4xi32>
8}
9