summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorNeil Henning <neil.henning@amd.com>2018-10-10 09:27:45 +0000
committerNeil Henning <neil.henning@amd.com>2018-10-10 09:27:45 +0000
commit3d4579829e85c108e729ade64d778e614b702e16 (patch)
tree6a5e370a5878810018613d094cea47a8f9d8384d /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent0c17cbf790cde9ed33b3f225b460194d27b2021a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud