view test/CodeGen/X86/2010-02-01-TaillCallCrash.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu
; PR6196

%"char[]" = type [1 x i8]

@.str = external constant %"char[]", align 1      ; <%"char[]"*> [#uses=1]

define i32 @regex_subst() nounwind {
entry:
  %0 = tail call i32 bitcast (%"char[]"* @.str to i32 (i32)*)(i32 0) nounwind ; <i32> [#uses=1]
  ret i32 %0
}