diff options
author | Jan Voung <jvoung@chromium.org> | 2013-11-20 13:21:04 -0800 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2013-11-20 13:21:04 -0800 |
commit | 32885ab95b44df7f2a3ace9ac7d227df9d648d46 (patch) | |
tree | e6f9abb43225b877f97819d0333a5956d4bc7074 /include/llvm/Bitcode/NaCl/NaClBitCodes.h | |
parent | a4504c6f116760d6c0f9f920bb755c3d0136f6c6 (diff) |
Remove UseRelativeID branching from NaClBitcodeReader, assume true.
This was kept in upstream LLVM for backwards compatibiilty
with version 0 bitcode, but PNaCl only accepts version 1
bitcode, so UseRelativeID is always true.
This reduces the number of branches taken while llvm-dis'ing
the Ogre SampleBrowser from 2,680,184,988 branches to
2,670,798,955 branches. A 2.5% difference in wall-clock
time...
BUG=none
trybots:
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-linux-pnacl-x86_32/builds/939
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-linux-pnacl-x86_64/builds/991
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-mac-pnacl-x86_32/builds/933
R=mseaborn@chromium.org
Review URL: https://codereview.chromium.org/77023007
Diffstat (limited to 'include/llvm/Bitcode/NaCl/NaClBitCodes.h')
0 files changed, 0 insertions, 0 deletions