summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-09-25 20:35:36 +0000
committerSebastian Pop <spop@codeaurora.org>2012-09-25 20:35:36 +0000
commitedb31faf92b8685929a5bde6627ce351e8712d8c (patch)
treed614964ab539d1d03cce341e93e6bcbddc6b6494 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent88387f5332378537f4c4a4bed7428fe7914de817 (diff)
downloadbcm5719-llvm-edb31faf92b8685929a5bde6627ce351e8712d8c.tar.gz
bcm5719-llvm-edb31faf92b8685929a5bde6627ce351e8712d8c.zip
TargetLowering interface to set/get minimum block entries for jump tables.
Provide interface in TargetLowering to set or get the minimum number of basic blocks whereby jump tables are generated for switch statements rather than an if sequence. getMinimumJumpTableEntries() defaults to 4. setMinimumJumpTableEntries() allows target configuration. This patch changes the default for the Hexagon architecture to 5 as it improves performance on some benchmarks. llvm-svn: 164628
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud