blob: 3226650ab1df5933a1d8e9949990ac80719396f7 [file] [log] [blame]
// RUN: iree-run-mlir --Xcompiler,iree-hal-target-backends=vmvx %s | FileCheck %s
// RUN: iree-run-mlir --Xcompiler,iree-hal-target-backends=llvm-cpu %s | FileCheck %s
// RUN: [[ $IREE_VULKAN_DISABLE == 1 ]] || (iree-run-mlir --Xcompiler,iree-hal-target-backends=vulkan-spirv %s | FileCheck %s)
// CHECK-LABEL: EXEC @scalar
func.func @scalar() -> i32 {
%result = util.unfoldable_constant 42 : i32
return %result : i32
}
// CHECK: i32=42