[PATCH] D21449: Target independent codesize heuristics for Loop Idiom Recognition
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 12:45:23 PDT 2016
mcrosier accepted this revision.
mcrosier added a comment.
This revision is now accepted and ready to land.
Sorry for the belated response, I've been on vacation for a bit.
LGTM assuming you address my minor nits.
================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:981
@@ +980,3 @@
+ bool IsLoopMemset)
+{
+ const char *IdiomType = IsMemset ? "Memset" : "Memcpy";
----------------
This curly brace should be on the previous line after the left paren.
================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:982
@@ +981,3 @@
+{
+ const char *IdiomType = IsMemset ? "Memset" : "Memcpy";
+
----------------
Can this be a StringRef?
https://reviews.llvm.org/D21449
More information about the llvm-commits
mailing list