Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/2009-05-19-SingleElementExtractElement.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 | afa8332a0e37 |
line wrap: on
line source
; 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()