[mlir] Move SelectOp from Standard to Arithmetic
This is part of splitting up the standard dialect. See https://llvm.discourse.group/t/standard-dialect-the-final-chapter/ for discussion.
Differential Revision: https://reviews.llvm.org/D118648
diff --git a/mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir b/mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
index 5790c3d..8926d7c 100644
--- a/mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
+++ b/mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
@@ -1,7 +1,7 @@
// RUN: mlir-opt -split-input-file -convert-std-to-spirv -verify-diagnostics %s | FileCheck %s
//===----------------------------------------------------------------------===//
-// std.select
+// arith.select
//===----------------------------------------------------------------------===//
module attributes {
@@ -848,24 +848,6 @@
// -----
-module attributes {
- spv.target_env = #spv.target_env<
- #spv.vce<v1.0, [Shader, Int8, Int16, Int64, Float16, Float64],
- [SPV_KHR_storage_buffer_storage_class]>, {}>
-} {
-
-// CHECK-LABEL: @select
-func @select(%arg0 : i32, %arg1 : i32) {
- %0 = arith.cmpi sle, %arg0, %arg1 : i32
- // CHECK: spv.Select
- %1 = select %0, %arg0, %arg1 : i32
- return
-}
-
-} // end module
-
-// -----
-
//===----------------------------------------------------------------------===//
// std.return
//===----------------------------------------------------------------------===//