search for: zext_shuffle

Displaying 4 results from an estimated 4 matches for "zext_shuffle".

2017 Jan 13
2
IR canonicalization: shufflevector or vector trunc?
Right - I think that case looks like this for little endian: define <2 x i32> @zextshuffle(<2 x i16> %x) { %zext_shuffle = shufflevector <2 x i16> %x, <2 x i16> zeroinitializer, <4 x i32> <i32 0, i32 2, i32 1, i32 2> %bc = bitcast <4 x i16> %zext_shuffle to <2 x i32> ret <2 x i32> %bc } define <2 x i32> @zextvec(<2 x i16> %x) { %zext = zext <2 x i16>...
2017 Jan 17
2
IR canonicalization: shufflevector or vector trunc?
...llvm-dev < > llvm-dev at lists.llvm.org> > > *Subject:* Re: [llvm-dev] IR canonicalization: shufflevector or vector > trunc? > > > > Right - I think that case looks like this for little endian: > > define <2 x i32> @zextshuffle(<2 x i16> %x) { > %zext_shuffle = shufflevector <2 x i16> %x, <2 x i16> zeroinitializer, > <4 x i32> <i32 0, i32 2, i32 1, i32 2> > %bc = bitcast <4 x i16> %zext_shuffle to <2 x i32> > ret <2 x i32> %bc > } > > define <2 x i32> @zextvec(<2 x i16> %x) { &g...
2017 Jan 21
2
IR canonicalization: shufflevector or vector trunc?
...dev < > llvm-dev at lists.llvm.org> > > > *Subject:* Re: [llvm-dev] IR canonicalization: shufflevector or vector > trunc? > > > > Right - I think that case looks like this for little endian: > > define <2 x i32> @zextshuffle(<2 x i16> %x) { > %zext_shuffle = shufflevector <2 x i16> %x, <2 x i16> zeroinitializer, > <4 x i32> <i32 0, i32 2, i32 1, i32 2> > %bc = bitcast <4 x i16> %zext_shuffle to <2 x i32> > ret <2 x i32> %bc > } > > define <2 x i32> @zextvec(<2 x i16> %x) { &g...
2017 Jan 12
2
IR canonicalization: shufflevector or vector trunc?
On Thu, Jan 12, 2017 at 11:06 AM, Friedman, Eli <efriedma at codeaurora.org> wrote: > On 1/12/2017 9:04 AM, Sanjay Patel via llvm-dev wrote: > > It's time for another round of "What is the canonical IR?" > > Credit for this episode to Zvi and PR31551. :) > https://llvm.org/bugs/show_bug.cgi?id=31551 > > define <4 x i16> @shuffle(<16 x i16>