diff options
author | Lei Huang <lei@ca.ibm.com> | 2018-05-29 13:38:56 +0000 |
---|---|---|
committer | Lei Huang <lei@ca.ibm.com> | 2018-05-29 13:38:56 +0000 |
commit | 716103f1cdbe673b00f52d6682baa16e7a9e875e (patch) | |
tree | b4133f3a61fb324f3abe3efd61109401b7727b04 /llvm/lib/CodeGen/StackColoring.cpp | |
parent | 26b9b2a8c392440e29ee97cf74e5a4e5fe646eab (diff) | |
download | bcm5719-llvm-716103f1cdbe673b00f52d6682baa16e7a9e875e.tar.gz bcm5719-llvm-716103f1cdbe673b00f52d6682baa16e7a9e875e.zip |
[PowerPC] Fix the incorrect iterator inside peephole
Instruction selection can insert nodes into the underlying list after the root
node so iterating will thereby miss it. We should NOT assume that, the root node
is the last element in the DAG nodelist.
Patch by: steven.zhang (Qing Shan Zhang)
Differential Revision: https://reviews.llvm.org/D47437
llvm-svn: 333415
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions