Merging r214336: release_35 origin/release_35
authorTom Stellard <thomas.stellard@amd.com>
Tue, 17 Mar 2015 20:42:08 +0000 (20:42 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 17 Mar 2015 20:42:08 +0000 (20:42 +0000)
commita4cf325e41fca33c7ce7deef39a7bcf25fb38266
treee765926157ddbfb65e4a52dd82d414bd12dda36d
parent3f8396f9ba6a7aed66bb020ad589f2f59e30c3ec
Merging r214336:

------------------------------------------------------------------------
r214336 | rafael.espindola | 2014-07-30 17:04:00 -0400 (Wed, 30 Jul 2014) | 9 lines

SimplifyCFG: Avoid miscompilations due to removed lifetime intrinsics.

The lifetime intrinsics need some work in order to make it clear which
optimizations are or are not valid.

For now dropping this optimization avoids a miscompilation.

Patch by Björn Steinbrink.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@232544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/lifetime.ll