summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-07-21 01:44:07 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-07-21 01:44:07 +0000
commitf9e7e1dd87193f6dd949cb26c07e0525a4b6e390 (patch)
tree8350010117cc5ec7b80c5553c2fb45e093cd8748 /clang/lib/CodeGen/CodeGenModule.cpp
parente99f93151668f4e304e565a75601ecf5c5225d35 (diff)
downloadbcm5719-llvm-f9e7e1dd87193f6dd949cb26c07e0525a4b6e390.tar.gz
bcm5719-llvm-f9e7e1dd87193f6dd949cb26c07e0525a4b6e390.zip
Hoist the rest of the logic for fully promoting allocas with all uses in
a single block into the helper routine. This takes advantage of the fact that we can directly replace uses prior to any store with undef to simplify matters and unconditionally promote allocas only used within one block. I've removed the special handling for the case of no stores existing. This has no semantic effect but might slow things down. I'll fix that in a later patch when I refactor this entire thing to be easier to manage the different cases. llvm-svn: 186783
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud