aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Memory.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2012-09-19 14:24:21 +0000
committerHans Wennborg <hans@hanshq.net>2012-09-19 14:24:21 +0000
commitf744fa917ddc3d045c96de623880a57bca31214f (patch)
tree2b881093360eae35feff2abb96e0301c5c62ebfa /llvm/lib/Support/Memory.cpp
parentbc0b3f43d10411208c02dd5ecf1b4f56ab17b171 (diff)
downloadllvm-f744fa917ddc3d045c96de623880a57bca31214f.zip
llvm-f744fa917ddc3d045c96de623880a57bca31214f.tar.gz
llvm-f744fa917ddc3d045c96de623880a57bca31214f.tar.bz2
SimplifyCFG: Don't generate invalid code for switch used to initialize
two variables where the first variable is returned and the second ignored. I don't think this occurs in practice (other passes should have cleaned up the unused phi node), but it should still be handled correctly. Also make the logic for determining if we should return early less sketchy. llvm-svn: 164225
Diffstat (limited to 'llvm/lib/Support/Memory.cpp')
0 files changed, 0 insertions, 0 deletions