[LLVMdev] RFC: Tail call optimization X86

Arnold Schwaighofer arnold.schwaighofer at gmail.com
Fri Oct 5 15:18:41 PDT 2007


Another round ;) Sadly not beer.

tested against r42630 darwin-x86:
SPASS llc-beta still fails

thanks for the patience

On 5 Oct 2007, at 20:58, Evan Cheng wrote:

> Yes please.
>> okay then i'll make tailcallopt switch stack adjusting behaviour?



the patch for the test suite (when/if it's needed) would be something  
like:
 >>>>>
--- Makefile.programs	(revision 42630)
+++ Makefile.programs	(working copy)
@@ -221,7 +221,8 @@
  LLCBETAOPTION := -sched=simple
  endif
  ifeq ($(ARCH),x86)
-LLCBETAOPTION := -enable-x86-conv-3-addr
+LLCBETAOPTION := -tailcallopt
+# -enable-x86-conv-3-addr
  #-regalloc=local -fast
  #-disable-rematerialization
  #-disable-fp-elim
 >>>>>


gee  i am tired really have to go to bed now.
regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tailcall-r42653-llvm.patch
Type: application/octet-stream
Size: 68087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071006/ab7a199c/attachment.obj>


More information about the llvm-dev mailing list