[PATCH] Allow memory intrinsics to be tail calls

Keno Fischer kfischer at college.harvard.edu
Mon Apr 13 13:09:17 PDT 2015


This is causing test failures for me, because it's jumping to `_memset` rather than `memset` (host platform is OS X). Probably needs an appropriate triple set.

  /Users/kfischer/Projects/llvm2/test/CodeGen/X86/tailcall-mem-intrinsics.ll:20:10: error: expected string not found in input
  ; CHECK: jmp memset
           ^
  <stdin>:17:13: note: scanning from here
  _tail_memset: ## @tail_memset
              ^
  <stdin>:19:2: note: possible intended match here
   jmp _memset ## TAILCALL


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8808

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list