summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-18 04:25:21 +0000
committerChris Lattner <sabre@nondot.org>2011-02-18 04:25:21 +0000
commit4a14fbc50c68ba3cc71134ede94e37a8ff688db0 (patch)
tree434902a1e7321e29f82713b88422c788ab260ecb /clang/lib/Basic/Targets.cpp
parentc4ef61af9a6e0f9c7dd49cef694e8111ab454049 (diff)
downloadbcm5719-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/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud