diff options
author | James Molloy <james.molloy@arm.com> | 2016-07-15 07:57:35 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2016-07-15 07:57:35 +0000 |
commit | 2af08fa0518f657e776135a854810aef52132dec (patch) | |
tree | 8c4da4740256f0bf14863eeabfeab367bd1c3e07 | |
parent | a454a11d605f089001257a7132824f3260ddf4b9 (diff) | |
download | bcm5719-llvm-2af08fa0518f657e776135a854810aef52132dec.tar.gz bcm5719-llvm-2af08fa0518f657e776135a854810aef52132dec.zip |
[ARM] Followup to r275537 addressing review comments
Address Chad's comment in D22216 which I missed due to tunnel vision on the "LGTM" comment.
llvm-svn: 275538
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 1542934aa77..12ed20c2ea4 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -1849,8 +1849,8 @@ ARMTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI, false, false, 0); } } else if (isa<GlobalAddressSDNode>(Callee)) { - // If we're optimizing for minimum size and the function is called many - // times in this block, we can improve codesize by calling indirectly + // If we're optimizing for minimum size and the function is called three or + // more times in this block, we can improve codesize by calling indirectly // as BLXr has a 16-bit encoding. auto *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal(); auto *BB = CLI.CS->getParent(); |