[llvm-commits] [gcc-plugin] r82690 - /gcc-plugin/trunk/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Thu Sep 24 10:59:23 CDT 2009


Author: baldrick
Date: Thu Sep 24 10:59:22 2009
New Revision: 82690

URL: http://llvm.org/viewvc/llvm-project?rev=82690&view=rev
Log:
The last ipa pass now seems to be ipa_struct_reorg.  Output
global variables after this.

Modified:
    gcc-plugin/trunk/llvm-backend.cpp

Modified: gcc-plugin/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-backend.cpp?rev=82690&r1=82689&r2=82690&view=diff

==============================================================================
--- gcc-plugin/trunk/llvm-backend.cpp (original)
+++ gcc-plugin/trunk/llvm-backend.cpp Thu Sep 24 10:59:22 2009
@@ -2174,7 +2174,7 @@
   // Add an ipa pass that emits global variables, calling emit_global_to_llvm
   // for each GCC static variable.
   pass_info.pass = &pass_emit_variables.pass;
-  pass_info.reference_pass_name = "matrix-reorg";
+  pass_info.reference_pass_name = "ipa_struct_reorg";
   pass_info.ref_pass_instance_number = 0;
   pass_info.pos_op = PASS_POS_INSERT_AFTER;
   register_callback (plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &pass_info);





More information about the llvm-commits mailing list