[PATCH] D16832: Minor performance tweaks to llvm-tblgen (and a few that might be a good idea)
Alexander Riccio via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 7 19:10:09 PST 2016
ariccio added a comment.
Bump?
(I kinda wanna get this out of the way, I hope that's not too pushy!)
================
Comment at: C:/LLVM/llvm/include/llvm/TableGen/Record.h:1312
@@ -1311,2 +1311,3 @@
if (SCPair.first->getNameInitAsString() == Name)
return true;
+ }
----------------
ariccio wrote:
> rnk wrote:
> > This should do the trick:
> > if (SCPair.first->getNameInit()->getValue() == Name)
> >
> Does that return the equivalent string vs `getAsUnquotedString`?
Bump?
http://reviews.llvm.org/D16832
More information about the llvm-commits
mailing list