[PATCH] [SimplifyCFG] Be more aggressive

hfinkel at anl.gov hfinkel at anl.gov
Tue Feb 10 10:53:04 PST 2015


================
Comment at: lib/Transforms/Utils/SimplifyCFG.cpp:58
@@ -59,1 +57,3 @@
+PHINodeFoldingThreshold("phi-node-folding-threshold", cl::Hidden, cl::init(2),
+   cl::desc("Control the amount of phi node folding to perform (default = 2)"));
 
----------------
And please add a comment here explaining why the number is 2 (so that we'll get the clamp pattern, etc.).

http://reviews.llvm.org/D7507

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list