summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-02-18 04:43:06 +0000
committerChris Lattner <sabre@nondot.org>2011-02-18 04:43:06 +0000
commit1a924e770ad01b524d7477473a1ded63c90242aa (patch)
tree90fa3eaa6a10abfc4c8b04086fb1f8a836b9040e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent8488640da7f65d06703b53eddf1f36ba8f216072 (diff)
downloadbcm5719-llvm-1a924e770ad01b524d7477473a1ded63c90242aa.tar.gz
bcm5719-llvm-1a924e770ad01b524d7477473a1ded63c90242aa.zip
prevent jump threading from merging blocks when their address is
taken (and used!). This prevents merging the blocks (invalidating the block addresses) in a case like this: #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) void foo() { printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); printf("%p\n", _THIS_IP_); } which fixes PR4151. llvm-svn: 125829
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud