summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-12-27 19:45:38 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-12-27 19:45:38 +0000
commitd0bcef204038b02271b94b0b40e6213a2e34d1da (patch)
treea6d84a5be34cb843590ddaaa5eba999b258a9407 /clang/lib/Serialization/ASTWriter.cpp
parent4eb5c2e089218940cb8b9a8b0d26fed7ba39b89e (diff)
downloadbcm5719-llvm-d0bcef204038b02271b94b0b40e6213a2e34d1da.tar.gz
bcm5719-llvm-d0bcef204038b02271b94b0b40e6213a2e34d1da.zip
PowerPC: CTR shouldn't fire if a TLS call is in the loop
Determining the address of a TLS variable results in a function call in certain TLS models. This means that a simple ICmpInst might actually result in invalidating the CTR register. In such cases, do not attempt to rely on the CTR register for loop optimization purposes. This fixes PR22034. Differential Revision: http://reviews.llvm.org/D6786 llvm-svn: 224890
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud