[PATCH] [SimplifyCFG] Be more aggressive

hfinkel at anl.gov hfinkel at anl.gov
Wed Feb 11 06:03:26 PST 2015


Can you please provide a summary of how this affects our normal performance benchmarks?


REPOSITORY
  rL LLVM

================
Comment at: lib/Transforms/Utils/SimplifyCFG.cpp:57
@@ -56,1 +56,3 @@
+// Chosen as 2 so as to be cheap, but still to have enough power to fold
+// a select, so the "clamp" idiom (of a min followed by a max) will be caught.
 static cl::opt<unsigned>
----------------
Do you mean two selects?

http://reviews.llvm.org/D7507

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






More information about the llvm-commits mailing list