diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-07-26 09:27:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-07-26 09:27:51 +0000 |
commit | 729d361834bdb29002ee5506b098582b43bfcd9c (patch) | |
tree | 457a183d36f54ef82fd83a5648913344771c8349 /libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd | |
parent | 273fc26b792884088407a1eb665aff0ec4204af8 (diff) | |
download | bcm5719-llvm-729d361834bdb29002ee5506b098582b43bfcd9c.tar.gz bcm5719-llvm-729d361834bdb29002ee5506b098582b43bfcd9c.zip |
[tblgen] Compare const char * with strcmp instead of creating StringRef.
Avoids a call to strlen on both strings which always reads the entire
string. strcmp can use early exit.
llvm-svn: 276737
Diffstat (limited to 'libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd')
0 files changed, 0 insertions, 0 deletions