[llvm-commits] [PATCH 3/10] PowerPC64 local call small optimization

Adhemerval Zanella azanella at linux.vnet.ibm.com
Mon Sep 17 13:19:35 PDT 2012


This patch is a small optimization for local function call (within the
same module) for PPC64. This avoid the emission of the 'nop' meant to
restore the TOC across function calls in different modules, since function
in same module share the same TOC.

I also added testcase for PPC64 function call to check the nop creation
for external function call, indirect calls, absolute calls and local calls.
This is more complete than the current PPC64 call check
(test/CodeGen/PowerPC/ppc64-ind-call.ll).

-- 
Adhemerval Zanella Netto
  Software Engineer
  Linux Technology Center Brazil
  Toolchain / GLIBC on Power Architecture
  azanella at linux.vnet.ibm.com / azanella at br.ibm.com
  +55 61 8642-9890

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-PowerPC64-local-call-small-optimization.patch
Type: text/x-patch
Size: 3336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120917/244dc070/attachment.bin>


More information about the llvm-commits mailing list