diff options
author | Neil Henning <neil.henning@amd.com> | 2018-10-10 09:27:45 +0000 |
---|---|---|
committer | Neil Henning <neil.henning@amd.com> | 2018-10-10 09:27:45 +0000 |
commit | 3d4579829e85c108e729ade64d778e614b702e16 (patch) | |
tree | 6a5e370a5878810018613d094cea47a8f9d8384d /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 0c17cbf790cde9ed33b3f225b460194d27b2021a (diff) | |
download | bcm5719-llvm-3d4579829e85c108e729ade64d778e614b702e16.tar.gz bcm5719-llvm-3d4579829e85c108e729ade64d778e614b702e16.zip |
Fix an ordering bug in the scalarizer.
I've added a new test case that causes the scalarizer to try and use
dead-and-erased values - caused by the basic blocks not being in
domination order within the function. To fix this, instead of iterating
through the blocks in function order, I walk them in reverse post order.
Differential Revision: https://reviews.llvm.org/D52540
llvm-svn: 344128
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions