| commit | 4a14fbc50c68ba3cc71134ede94e37a8ff688db0 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Fri Feb 18 04:25:21 2011 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Fri Feb 18 04:25:21 2011 +0000 |
| tree | 434902a1e7321e29f82713b88422c788ab260ecb | |
| parent | c4ef61af9a6e0f9c7dd49cef694e8111ab454049 [diff] |
Don't unroll loops whose header block's address is taken.
This is part of a futile attempt to not "break" bizzaro
code like this:
l1:
printf("l1: %p\n", &&l1);
++x;
if( x < 3 ) goto l1;
Previously we'd fold &&l1 to 1, which is fine per our semantics
but not helpful to the user.
llvm-svn: 125827