summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/switch-masked-bits.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix SpeculativelyExecuteBB to either speculate all or none of the phisDan Gohman2012-01-051-2/+2
| | | | | | | | | | | | present in the bottom of the CFG triangle, as the transformation isn't ever valuable if the branch can't be eliminated. Also, unify some heuristics between SimplifyCFG's multiple if-converters, for consistency. This fixes rdar://10627242. llvm-svn: 147630
* SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.Benjamin Kramer2011-05-141-0/+38
llvm-svn: 131345
OpenPOWER on IntegriCloud