summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-06-30 07:29:44 +0000
committerChris Lattner <sabre@nondot.org>2005-06-30 07:29:44 +0000
commit937c71f2b37b04a7a0d7062365c57485fc9ae995 (patch)
treea6174b0d758f44c53419b28fd9afed3bc89700d5 /llvm/lib/CodeGen/VirtRegMap.cpp
parentba613f478aad4eb4eb6dbbf300425c48633f7a82 (diff)
downloadbcm5719-llvm-937c71f2b37b04a7a0d7062365c57485fc9ae995.tar.gz
bcm5719-llvm-937c71f2b37b04a7a0d7062365c57485fc9ae995.zip
Fix PR590 and Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll.
The optimization for locally used allocas was not safe for allocas that were read before they were written. This change disables that optimization in that case. llvm-svn: 22318
Diffstat (limited to 'llvm/lib/CodeGen/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud