search for: pr11266

Displaying 3 results from an estimated 3 matches for "pr11266".

Did you mean: 11266
2011 Oct 30
1
[LLVMdev] instcombine does silly things with vector x+x
Opened pr11266. I will try to make time to work on it. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner Sent: Saturday, October 29, 2011 01:04 To: andrew adams Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] instcombine does sil...
2011 Oct 28
0
[LLVMdev] instcombine does silly things with vector x+x
On Oct 28, 2011, at 2:13 PM, andrew adams wrote: > Consider the following function which doubles a <16 x i8> vector: > > define <16 x i8> @test(<16 x i8> %a) { > %b = add <16 x i8> %a, %a > ret <16 x i8> %b > } > > If I compile it for x86 with llc like so: > > llc paddb.ll -filetype=asm -o=/dev/stdout > > I get a
2011 Oct 28
2
[LLVMdev] instcombine does silly things with vector x+x
Consider the following function which doubles a <16 x i8> vector: define <16 x i8> @test(<16 x i8> %a) { %b = add <16 x i8> %a, %a ret <16 x i8> %b } If I compile it for x86 with llc like so: llc paddb.ll -filetype=asm -o=/dev/stdout I get a two-op function that just does paddb %xmm0 %xmm0 and then returns. llc does this regardless of the