summaryrefslogtreecommitdiffstats
path: root/llvm/test/FrontendC/alignstack.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2011-06-18 10:28:47 +0000
committerHans Wennborg <hans@hanshq.net>2011-06-18 10:28:47 +0000
commit4ab4a8e63a5a99face7d7b523529d3805385c93a (patch)
tree388f435796f21d8e15bfe3031a116d0db6959fe0 /llvm/test/FrontendC/alignstack.c
parent54a2c06cf2ca527e9b4456776af83f2a12860da7 (diff)
downloadbcm5719-llvm-4ab4a8e63a5a99face7d7b523529d3805385c93a.tar.gz
bcm5719-llvm-4ab4a8e63a5a99face7d7b523529d3805385c93a.zip
Fix PR10103: Less code for enum type translation.
In cases such as the attached test, where the case value for a switch destination is used in a phi node that follows the destination, it might be better to replace that value with the condition value of the switch, so that more blocks can be folded away with TryToSimplifyUncondBranchFromEmptyBlock because there are less conflicts in the phi node. llvm-svn: 133344
Diffstat (limited to 'llvm/test/FrontendC/alignstack.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud