[llvm-commits] [llvm] r57633 - /llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
Duncan Sands
baldrick at free.fr
Thu Oct 16 01:56:48 PDT 2008
Author: baldrick
Date: Thu Oct 16 03:56:46 2008
New Revision: 57633
URL: http://llvm.org/viewvc/llvm-project?rev=57633&view=rev
Log:
Testcase for PR2762.
Added:
llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
Added: llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll?rev=57633&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll (added)
+++ llvm/trunk/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll Thu Oct 16 03:56:46 2008
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -enable-legalize-types
+; PR2762
+define void @foo(<4 x i32>* %p, <4 x double>* %q) {
+ %n = load <4 x i32>* %p
+ %z = sitofp <4 x i32> %n to <4 x double>
+ store <4 x double> %z, <4 x double>* %q
+ ret void
+}
More information about the llvm-commits
mailing list