================
@@ -40,8 +40,11 @@ if config.llvm_polly_link_into_tools == '' or \
    config.llvm_polly_link_into_tools.lower() == 'false' or \
    config.llvm_polly_link_into_tools.lower() == 'notfound' or \
    config.llvm_polly_link_into_tools.lower() == 
'llvm_polly_link_into_tools-notfound':
-    config.substitutions.append(('%loadNPMPolly', '-load-pass-plugin '
-                                 + config.polly_lib_dir + 
'/LLVMPolly@LLVM_SHLIBEXT@'
+    # -load registers Polly's options while opt parses the -polly-* options
+    # that follow; -load-pass-plugin registers its passes after parsing.
----------------
aengelke wrote:

Tolerable as a temporary solution, but we also want to eventually remove 
-load... add a TODO at least.

https://github.com/llvm/llvm-project/pull/226773
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to