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


##########
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:
   Also, are there any potential downsides or other side-effects of using this 
flag?  Asking because with compiler flags, the word "force" sometimes implies 
that the resulting behavior isn't always a good idea.



-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to