Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/2011-12-8-bitcastintprom.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 | 1172e4bd9c6f |
line wrap: on
line source
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7 | FileCheck %s ; Make sure that the conversion between v4i8 to v2i16 is not a simple bitcast. ; CHECK: prom_bug ; CHECK: shufb ; CHECK: movd ; CHECK: movw ; CHECK: ret define void @prom_bug(<4 x i8> %t, i16* %p) { %r = bitcast <4 x i8> %t to <2 x i16> %o = extractelement <2 x i16> %r, i32 0 store i16 %o, i16* %p ret void }