[LLVMdev] [Patch] Fix SSE2 packing intrinsics return type

Nicolas Capens nicolas at capens.net
Wed Jun 10 05:54:31 PDT 2009

Hi Eli,

What exactly do mean by an AutoUpgrade patch?

I don't see how this could cause any issues with backward compatibility.
People currently using these intrinsics need a bitcast of the result to
avoid an assert, and with the patch applied the bitcast is no longer



-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Eli Friedman
Sent: woensdag 10 juni 2009 2:57
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] [Patch] Fix SSE2 packing intrinsics return type

On Tue, Jun 9, 2009 at 2:58 PM, Nicolas Capens<nicolas at capens.net> wrote:
> Please consider committing the attached patch. I believe the SSE2
> packssdw and packuswb intrinsics have an incorrect return type.

If we really wanted to do this, an AutoUpgrade patch would be
necessary for backwards-compatibility.  I'm not sure it's worth

LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list