mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
7276c8c2b5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95017 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
318 B
LLVM
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
|
|
}
|