llvm.org GIT mirror llvm / c30ebec
[ARM] Followup to r275537 addressing review comments Address Chad's comment in D22216 which I missed due to tunnel vision on the "LGTM" comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275538 91177308-0d34-0410-b5e6-96231b3b80d8 James Molloy 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
18481848 false, false, 0);
18491849 }
18501850 } else if (isa(Callee)) {
1851 // If we're optimizing for minimum size and the function is called many
1852 // times in this block, we can improve codesize by calling indirectly
1851 // If we're optimizing for minimum size and the function is called three or
1852 // more times in this block, we can improve codesize by calling indirectly
18531853 // as BLXr has a 16-bit encoding.
18541854 auto *GV = cast(Callee)->getGlobal();
18551855 auto *BB = CLI.CS->getParent();