[llvm-commits] [dragonegg] r98351 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Fri Mar 12 08:14:49 PST 2010
Author: baldrick
Date: Fri Mar 12 10:14:49 2010
New Revision: 98351
URL: http://llvm.org/viewvc/llvm-project?rev=98351&view=rev
Log:
Add notes for passes that have not been disabled.
Modified:
dragonegg/trunk/llvm-backend.cpp
Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=98351&r1=98350&r2=98351&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Fri Mar 12 10:14:49 2010
@@ -2344,6 +2344,11 @@
// Could just set optimize to zero (after taking a copy), but this would
// also impact front-end optimizations.
+ // Leave pass_inline_parameters. Otherwise our vector lowering fails since
+ // immediates have not been propagated into builtin callsites.
+
+ // Leave pass_ipa_function_and_variable_visibility. Needed for correctness.
+
// Turn off pass_ipa_early_inline.
pass_info.pass = &pass_simple_ipa_null.pass;
pass_info.reference_pass_name = "einline_ipa";
@@ -2351,13 +2356,44 @@
pass_info.pos_op = PASS_POS_REPLACE;
register_callback (plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &pass_info);
- // Turn off pass_all_early_optimizations.
+ // Leave pass_ipa_free_lang_data.
+
+ // Leave pass pass_early_local_passes::pass_fixup_cfg. ???
+
+ // Leave pass pass_early_local_passes::pass_tree_profile.
+
+ // Leave pass_early_local_passes::pass_cleanup_cfg. ???
+
+ // Leave pass_early_local_passes::pass_init_datastructures. ???
+
+ // Leave pass_early_local_passes::pass_expand_omp.
+
+ // Leave pass_early_local_passes::pass_referenced_vars. ???
+
+ // Leave pass_early_local_passes::pass_build_ssa.
+
+ // Leave pass_early_local_passes::pass_early_warn_uninitialized.
+
+ // Leave pass_early_local_passes::pass_rebuild_cgraph_edges. ???
+
+ // Leave pass_early_local_passes::pass_early_inline. Otherwise our vector
+ // lowering fails since immediates have not been propagated into builtin
+ // callsites.
+
+ // Turn off pass_early_local_passes::pass_all_early_optimizations.
pass_info.pass = &pass_gimple_null.pass;
pass_info.reference_pass_name = "early_optimizations";
pass_info.ref_pass_instance_number = 0;
pass_info.pos_op = PASS_POS_REPLACE;
register_callback (plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &pass_info);
+ // Leave pass_early_local_passes::pass_release_ssa_names. ???
+
+ // Leave pass_early_local_passes::pass_rebuild_cgraph_edges. ???
+
+ // Leave pass_inline_parameters. Otherwise our vector lowering fails since
+ // immediates have not been propagated into builtin callsites.
+
// Turn off pass_ipa_increase_alignment.
pass_info.pass = &pass_simple_ipa_null.pass;
pass_info.reference_pass_name = "increase_alignment";
@@ -2372,6 +2408,8 @@
pass_info.pos_op = PASS_POS_REPLACE;
register_callback (plugin_name, PLUGIN_PASS_MANAGER_SETUP, NULL, &pass_info);
+ // Leave pass_ipa_whole_program_visibility. ???
+
// Turn off pass_ipa_cp.
pass_info.pass = &pass_ipa_null.pass;
pass_info.reference_pass_name = "cp";
More information about the llvm-commits
mailing list