commit | 31dc25301b584f8d938629f9a68c5db83ec6241b | [log] [tgz] |
---|---|---|
author | Kamil Dudka <kdudka@redhat.com> | Sun Aug 09 22:43:17 2009 +0200 |
committer | Christopher Li <sparse@chrisli.org> | Sat Aug 27 23:27:35 2011 -0700 |
tree | 7437f8e0a9164b7a92e1e238c80574e0c3cb6e25 | |
parent | 8376ab091a5ab1850797fd203f31ae97a1287b23 [diff] |
cse: treat PHI-nodes as other instructions Without this patch test-linearize fails on a simple example: static void test(int i) { while (i) { if (i) test(0); i++; } } It generates a conditional jump depending on an uninitialized value which is obviously not in the input code. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Kamil Dudka <kdudka@redhat.com> Signed-off-by: Christopher Li <sparse@chrisli.org>