diff options
author | Chris Lattner <sabre@nondot.org> | 2011-02-18 04:25:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-02-18 04:25:21 +0000 |
commit | 4a14fbc50c68ba3cc71134ede94e37a8ff688db0 (patch) | |
tree | 434902a1e7321e29f82713b88422c788ab260ecb /clang/lib/Basic | |
parent | c4ef61af9a6e0f9c7dd49cef694e8111ab454049 (diff) | |
download | bcm5719-llvm-4a14fbc50c68ba3cc71134ede94e37a8ff688db0.tar.gz bcm5719-llvm-4a14fbc50c68ba3cc71134ede94e37a8ff688db0.zip |
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
Diffstat (limited to 'clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions