Skip to content
  • Evan Cheng's avatar
    Increasing the inline limit from (overly conservative) 200 to 300. Given each... · 3471ae8c
    Evan Cheng authored
    Increasing the inline limit from (overly conservative) 200 to 300. Given each BB costs 20 and each instruction costs 5, 200 means a 4 BB function + 24 instructions (actually less because caller's size also contributes to it).
    
    Furthermore, double the limit when more than 10% of the callee instructions are vector instructions. Multimedia kernels tend to love inlining.
    
    llvm-svn: 48725
    3471ae8c
Loading