commit | 445c3f14aba44cd391e1c6fff3cd4ecf128ee4e2 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 03 14:51:09 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Oct 03 14:51:09 2018 +0000 |
tree | 8ec5529d6b6577b25753ac976f1c3f00deb964d6 | |
parent | 0fbe023b079e83c4c1d0e938e999d9ba1625494e [diff] |
[llvm-exegesis] Avoid yaml parser from calling sscanf for obvious non-matches (PR39102) deserializeMCOperand - ensure that we at least match the first character of the sscanf pattern before calling This reduces llvm-exegesis uops analysis of the instructions supported from btver2 from 5m13s to 2m1s on debug builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343690 91177308-0d34-0410-b5e6-96231b3b80d8