Enable floor test on vulkan-spirv and llvm-ir (#3134)
Also sort vulkan tests alphabetically.
Fixes https://github.com/google/iree/issues/1696
diff --git a/iree/test/e2e/xla_ops/BUILD b/iree/test/e2e/xla_ops/BUILD
index 66a9fcf..fbcd1d2 100644
--- a/iree/test/e2e/xla_ops/BUILD
+++ b/iree/test/e2e/xla_ops/BUILD
@@ -40,23 +40,20 @@
"abs.mlir",
"add.mlir",
"batch_norm_inference.mlir",
- "broadcast_add.mlir",
"broadcast.mlir",
+ "broadcast_add.mlir",
"broadcast_in_dim.mlir",
"clamp.mlir",
"compare.mlir",
- "convolution.mlir",
- "convert.mlir",
"concatenate.mlir",
"constant.mlir",
+ "convert.mlir",
+ "convolution.mlir",
"cosine.mlir",
"divide.mlir",
"dot.mlir",
"exponential.mlir",
-
- # TODO(#1696): Enable after standard dialect can support floor
- # operation. Lowering from XLA -> linalg should be easy fix.
- # "floor.mlir",
+ "floor.mlir",
"gather.mlir",
"gather_concat.mlir",
"iota.mlir",
@@ -107,6 +104,7 @@
"divide.mlir",
"dot.mlir",
"exponential.mlir",
+ "floor.mlir",
"gather.mlir",
"gather_concat.mlir",
"iota.mlir",
diff --git a/iree/test/e2e/xla_ops/CMakeLists.txt b/iree/test/e2e/xla_ops/CMakeLists.txt
index 0303432..c44290a 100644
--- a/iree/test/e2e/xla_ops/CMakeLists.txt
+++ b/iree/test/e2e/xla_ops/CMakeLists.txt
@@ -46,6 +46,7 @@
"divide.mlir"
"dot.mlir"
"exponential.mlir"
+ "floor.mlir"
"gather.mlir"
"gather_concat.mlir"
"iota.mlir"
@@ -96,6 +97,7 @@
"divide.mlir"
"dot.mlir"
"exponential.mlir"
+ "floor.mlir"
"gather.mlir"
"gather_concat.mlir"
"iota.mlir"