Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/vec_udiv_to_shift.ll @ 52:c22698ecb2a9
modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Jan 2014 21:01:33 +0900 (2014-01-15) |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: opt < %s -instcombine -S | FileCheck %s define <8 x i16> @udiv_vec8x16(<8 x i16> %var) { entry: ; CHECK: lshr <8 x i16> %var, <i16 5, i16 5, i16 5, i16 5, i16 5, i16 5, i16 5, i16 5> %0 = udiv <8 x i16> %var, <i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32, i16 32> ret <8 x i16> %0 } define <4 x i32> @udiv_vec4x32(<4 x i32> %var) { entry: ; CHECK: lshr <4 x i32> %var, <i32 4, i32 4, i32 4, i32 4> %0 = udiv <4 x i32> %var, <i32 16, i32 16, i32 16, i32 16> ret <4 x i32> %0 }