commit | 68439a0e074b6c847d2b74d27193c82d618212e9 | [log] [tgz] |
---|---|---|
author | Jacques Pienaar <jpienaar@google.com> | Mon May 01 21:11:53 2023 -0700 |
committer | GitHub <noreply@github.com> | Mon May 01 21:11:53 2023 -0700 |
tree | 1f78f245f85228ffcf9f6af061fc2a8785ad0b78 | |
parent | 61b58395d47a9f674041bc0a942a9ce1a79d8404 [diff] |
Enable roundeven expansion pattern (#13329) Re-enables more tests from #12778.
diff --git a/compiler/src/iree/compiler/Codegen/Common/PolynomialApproximationPass.cpp b/compiler/src/iree/compiler/Codegen/Common/PolynomialApproximationPass.cpp index 1f3294f..b1fda4d 100644 --- a/compiler/src/iree/compiler/Codegen/Common/PolynomialApproximationPass.cpp +++ b/compiler/src/iree/compiler/Codegen/Common/PolynomialApproximationPass.cpp
@@ -35,6 +35,7 @@ mathPatterns.add<math::ErfPolynomialApproximation>(&getContext()); } else { populateMathPolynomialApproximationPatterns(mathPatterns); + populateExpandRoundEvenPattern(mathPatterns); } if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(mathPatterns)))) {
diff --git a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v3-large_uint8.run b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v3-large_uint8.run index 87f34f1..e12a4ad 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v3-large_uint8.run +++ b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_mobilenet_v3-large_uint8.run
@@ -1,3 +1,2 @@ # REQUIRES: llvmcpu # RUN: %PYTHON -m iree_tfl_tests.mobilenet_v3-large_uint8_test --target_backend=llvmcpu --artifacts_dir=%t -# XFAIL: *
diff --git a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_resnet_50_int8.run b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_resnet_50_int8.run index 21c1623..064727a 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_resnet_50_int8.run +++ b/integrations/tensorflow/test/iree_tfl_tests/llvmcpu_resnet_50_int8.run
@@ -1,3 +1,2 @@ # REQUIRES: llvmcpu # RUN: %PYTHON -m iree_tfl_tests.resnet_50_int8_test --target_backend=llvmcpu -artifacts_dir=%t -# XFAIL: *
diff --git a/integrations/tensorflow/test/iree_tfl_tests/mobilenet_v3.run b/integrations/tensorflow/test/iree_tfl_tests/mobilenet_v3.run index d35637a..d3e254e 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/mobilenet_v3.run +++ b/integrations/tensorflow/test/iree_tfl_tests/mobilenet_v3.run
@@ -1,2 +1 @@ # RUN: %PYTHON -m iree_tfl_tests.mobilenet_v3_test --artifacts_dir=%t -# XFAIL: *
diff --git a/integrations/tensorflow/test/iree_tfl_tests/person_detect.run b/integrations/tensorflow/test/iree_tfl_tests/person_detect.run index 3808b71..cf8517b 100644 --- a/integrations/tensorflow/test/iree_tfl_tests/person_detect.run +++ b/integrations/tensorflow/test/iree_tfl_tests/person_detect.run
@@ -1,2 +1 @@ # RUN: %PYTHON -m iree_tfl_tests.person_detect_test --artifacts_dir=%t -# XFAIL: *