summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-10-27 12:02:28 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-10-27 12:02:28 +0000
commit46c0278e7d0937431173c9d75f7e60879b004c20 (patch)
treeac46bdb221429eb99e3d209e3963147ca79732da /clang/lib/Frontend/CompilerInvocation.cpp
parent447d1a19860bd8af26275a21ec67ce5c70f533d5 (diff)
downloadbcm5719-llvm-46c0278e7d0937431173c9d75f7e60879b004c20.tar.gz
bcm5719-llvm-46c0278e7d0937431173c9d75f7e60879b004c20.zip
[SLP] Fix for PR30626: Compiler crash inside SLP Vectorizer.
After successfull horizontal reduction vectorization attempt for PHI node vectorizer tries to update root binary op by combining vectorized tree and the ReductionPHI node. But during vectorization this ReductionPHI can be vectorized itself and replaced by the `undef` value, while the instruction itself is marked for deletion. This 'marked for deletion' PHI node then can be used in new binary operation, causing "Use still stuck around after Def is destroyed" crash upon PHI node deletion. Also the test is fixed to make it perform actual testing. Differential Revision: https://reviews.llvm.org/D25671 llvm-svn: 285286
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud