[LLVMdev] Error with instruction selection
Kalle.Raiskila at nokia.com
Kalle.Raiskila at nokia.com
Tue Jun 1 06:41:41 PDT 2010
On Mon, 2010-05-31 at 15:47 +0200, Raiskila Kalle wrote:
> Hello,
> I'm seeing a miscompilation from the following code:
>
> declare <4 x float>* @getPtr()
> define <4 x float> @func() {
> %rv1 = call <4 x float>* @getPtr()
> %rv2 = call <4 x float>* @getPtr()
> %rv3 = load <4 x float>* %rv1
> ret <4 x float> %rv3
> }
Never mind, fixed in 105269.
Turns out that the selecting of the load did some premature
optimization.
kalle
More information about the llvm-dev
mailing list