summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-01-22 06:53:07 +0000
committerCraig Topper <craig.topper@gmail.com>2017-01-22 06:53:07 +0000
commiteb3067ee856d30e7c718f1352d40aa5e5bdfbe0b (patch)
tree32d20442d4127b05931a3b8146912a6536b889e3 /llvm/lib
parent6f8e989b21892913be4c01d4c51bd4a3cefcecb3 (diff)
downloadbcm5719-llvm-eb3067ee856d30e7c718f1352d40aa5e5bdfbe0b.tar.gz
bcm5719-llvm-eb3067ee856d30e7c718f1352d40aa5e5bdfbe0b.zip
[IR] Add LLVM_READONLY to BasicBlock::getTerminator.
I noticed that this function got called twice in compiled code to create succ_begin and succ_end iterators. Adding this directive helps the compiler share the call. Ideally we'd just make this method available for inlining since its quite simple, but the current header file arrangements don't allow that. llvm-svn: 292754
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud