1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/CodeGen/X86/2010-02-01-TaillCallCrash.ll
2010-02-01 22:40:09 +00:00

13 lines
318 B
LLVM

; 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
}