diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-06-30 07:29:44 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-06-30 07:29:44 +0000 |
| commit | 937c71f2b37b04a7a0d7062365c57485fc9ae995 (patch) | |
| tree | a6174b0d758f44c53419b28fd9afed3bc89700d5 /llvm/lib/CodeGen/VirtRegMap.cpp | |
| parent | ba613f478aad4eb4eb6dbbf300425c48633f7a82 (diff) | |
| download | bcm5719-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

