diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-03 14:51:09 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-10-03 14:51:09 +0000 |
commit | 92d02027c26733410d5fbb8a10ebf7a3c745e4d8 (patch) | |
tree | f0d6d7332e1f4698a4fc4c9d301cfdc1c07cbe30 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 925b64be64d7da078c70d621b787015c8073dcca (diff) | |
download | llvm-92d02027c26733410d5fbb8a10ebf7a3c745e4d8.zip llvm-92d02027c26733410d5fbb8a10ebf7a3c745e4d8.tar.gz llvm-92d02027c26733410d5fbb8a10ebf7a3c745e4d8.tar.bz2 |
[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.
llvm-svn: 343690
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions