aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-05 05:54:46 +0000
committerChris Lattner <sabre@nondot.org>2009-10-05 05:54:46 +0000
commit82cdc06a6626e9a9fae300fafaeae9702ffb3808 (patch)
tree4ed7b0bdfe761ae52997a152437d00ddaae10360 /lib/Bitcode/Reader/BitcodeReader.h
parent4509b017dfea39a23da470417d3abbeab298b79f (diff)
downloadexternal_llvm-82cdc06a6626e9a9fae300fafaeae9702ffb3808.zip
external_llvm-82cdc06a6626e9a9fae300fafaeae9702ffb3808.tar.gz
external_llvm-82cdc06a6626e9a9fae300fafaeae9702ffb3808.tar.bz2
strength reduce a ton of type equality tests to check the typeid (Through
the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions