mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
df2896d609
llvm-svn: 81290
17 lines
423 B
LLVM
17 lines
423 B
LLVM
; RUN: llc < %s -march=x86-64
|
|
; PR3886
|
|
|
|
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
|
|
entry:
|
|
%a = call <1 x i64> @bar()
|
|
%tmp5.i = extractelement <1 x i64> %a, i32 0
|
|
%tmp11 = bitcast i64 %tmp5.i to <1 x i64>
|
|
%tmp8 = extractelement <1 x i64> %tmp11, i32 0
|
|
%call6 = call i32 (i64)* @foo(i64 %tmp8)
|
|
ret i32 undef
|
|
}
|
|
|
|
declare i32 @foo(i64)
|
|
|
|
declare <1 x i64> @bar()
|