aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp')
-rw-r--r--eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp b/eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp
index e5a8cd9e92c..f81ba10a8f3 100644
--- a/eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp
+++ b/eval/src/tests/instruction/pow_as_map_optimizer/pow_as_map_optimizer_test.cpp
@@ -31,15 +31,17 @@ struct InplaceInfo {
void verify_optimized(const vespalib::string &expr, op1_t op1, bool inplace = false) {
SCOPED_TRACE(expr.c_str());
+ auto stable_types = CellTypeSpace({CellType::FLOAT, CellType::DOUBLE}, 1);
if (inplace) {
InplaceInfo details{op1};
- auto all_types = CellTypeSpace(CellTypeUtils::list_types(), 1);
- EvalFixture::verify<InplaceInfo>(expr, {details}, all_types);
+ EvalFixture::verify<InplaceInfo>(expr, {details}, stable_types);
} else {
MapInfo details{op1};
- auto all_types = CellTypeSpace(CellTypeUtils::list_types(), 1);
- EvalFixture::verify<MapInfo>(expr, {details}, all_types);
+ EvalFixture::verify<MapInfo>(expr, {details}, stable_types);
}
+ MapInfo details{op1};
+ auto unstable_types = CellTypeSpace({CellType::BFLOAT16, CellType::INT8}, 1);
+ EvalFixture::verify<MapInfo>(expr, {details}, unstable_types);
}
void verify_not_optimized(const vespalib::string &expr) {