commit | bcf03bbf99879e42d9f5ca21552f65b1b21e695c | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Thu Jun 23 17:09:49 2016 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Thu Jun 23 17:09:49 2016 +0000 |
tree | 465727215f3494d02d8678c2f3bec67525ee6d56 | |
parent | e8da13b383164c46b71860b1495a17acd18c5bc7 [diff] |
[TableGen] Use StringRef::compare instead of != and <. NFC. The previous code would always do 1 or 2 prefix compares; explicitly only do one. This speeds up debug -gen-asm-matcher by ~10% (e.g. X86: 40s -> 35s). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273583 91177308-0d34-0410-b5e6-96231b3b80d8