summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2013-12-10 00:13:41 +0000
committerJustin Bogner <mail@justinbogner.com>2013-12-10 00:13:41 +0000
commita41a7b3ee5783977459747f794249fc3387841ef (patch)
tree8a500e173a96cf2d0a632419fd35fffbd46018a2 /llvm/lib/CodeGen/MachineScheduler.cpp
parent4287a49913b4e965702abe886fc497d34ff6fd53 (diff)
downloadbcm5719-llvm-a41a7b3ee5783977459747f794249fc3387841ef.tar.gz
bcm5719-llvm-a41a7b3ee5783977459747f794249fc3387841ef.zip
Transforms: Don't create bad branch weights when folding a switch
This avoids creating branch weight metadata of length one when we fold cases into the default of a switch instruction, which was triggering an assert. llvm-svn: 196845
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud