Ben Vanik | d5a9b1b | 2023-03-06 12:06:27 -0800 | [diff] [blame] | 1 | // RUN: iree-opt --iree-common-input-transformation-pipeline %s | \ |
| 2 | // RUN: iree-opt --iree-abi-transformation-pipeline - | \ |
Ben Vanik | 866c0c0 | 2024-05-28 22:30:19 -0700 | [diff] [blame] | 3 | // RUN: iree-opt --pass-pipeline='builtin.module(iree-hal-device-assignment-pipeline{target-devices=local})' --iree-hal-local-target-device-backends=vmvx - | \ |
Han-Chung Wang | afa74de | 2023-08-28 16:43:45 -0700 | [diff] [blame] | 4 | // RUN: iree-opt --iree-global-optimization-transformation-pipeline - | \ |
Ian Wood | 7a7bfe1 | 2024-08-26 08:43:30 -0700 | [diff] [blame] | 5 | // RUN: iree-opt --iree-dispatch-creation-pipeline - | \ |
Ben Vanik | d5a9b1b | 2023-03-06 12:06:27 -0800 | [diff] [blame] | 6 | // RUN: iree-opt --iree-flow-transformation-pipeline - | \ |
| 7 | // RUN: iree-opt --iree-stream-transformation-pipeline - | \ |
Ben Vanik | 866c0c0 | 2024-05-28 22:30:19 -0700 | [diff] [blame] | 8 | // RUN: iree-opt --iree-hal-transformation-pipeline - | \ |
Ben Vanik | d5a9b1b | 2023-03-06 12:06:27 -0800 | [diff] [blame] | 9 | // RUN: iree-opt --iree-vm-transformation-pipeline - | \ |
| 10 | // RUN: FileCheck %s |
| 11 | |
| 12 | // CHECK: vm.func private @abs(%arg0: !vm.ref<!hal.buffer_view>) -> !vm.ref<!hal.buffer_view> |
| 13 | func.func @abs(%input : tensor<f32>) -> (tensor<f32>) { |
| 14 | %result = math.absf %input : tensor<f32> |
| 15 | return %result : tensor<f32> |
| 16 | } |