diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-07-12 01:43:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-07-12 01:43:21 +0000 |
commit | b4faf4ce085487ab43c62925bb5e227b18e6311a (patch) | |
tree | 2c621c31778a337777efcb87b67a991991cb70da /llvm/test/Transforms | |
parent | be996bd2d9e73d365c395618dd0d81a2930ec650 (diff) | |
download | bcm5719-llvm-b4faf4ce085487ab43c62925bb5e227b18e6311a.tar.gz bcm5719-llvm-b4faf4ce085487ab43c62925bb5e227b18e6311a.zip |
[x86] Fix another trivial bug in x86 flags copy lowering that has been
there for a long time.
The boolean tracking whether we saw a kill of the flags was supposed to
be per-block we are scanning and instead was outside that loop and never
cleared. It requires a quite contrived test case to hit this as you have
to have multiple levels of successors and interleave them with kills.
I've included such a test case here.
This is another bug found testing SLH and extracted to its own focused
patch.
llvm-svn: 336876
Diffstat (limited to 'llvm/test/Transforms')
0 files changed, 0 insertions, 0 deletions