cconvey commented on code in PR #12397:
URL: https://github.com/apache/tvm/pull/12397#discussion_r948019685


##########
python/tvm/target/target.py:
##########
@@ -724,6 +724,12 @@ def create_llvm_options(cpu_ver, config):  # pylint: 
disable=unused-argument
 
         llvm_options = config["llvm_options"]
 
+        # To enable auto-vectorization for v68 target added the below 
llvm-option by default
+        if arch_version == 68:
+            if not llvm_options:
+                llvm_options = ""
+            llvm_options += " -force-hvx-float"
+

Review Comment:
   Does this flag impose any new requirements regarding which LLVM versions TVM 
needs?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to