[llvm] r278798 - [X86][AVX] Fixed typo in zero element insertion

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 06:33:33 PDT 2016


Author: rksimon
Date: Tue Aug 16 08:33:33 2016
New Revision: 278798

URL: http://llvm.org/viewvc/llvm-project?rev=278798&view=rev
Log:
[X86][AVX] Fixed typo in zero element insertion

Modified:
    llvm/trunk/test/CodeGen/X86/merge-consecutive-loads-256.ll

Modified: llvm/trunk/test/CodeGen/X86/merge-consecutive-loads-256.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/merge-consecutive-loads-256.ll?rev=278798&r1=278797&r2=278798&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/merge-consecutive-loads-256.ll (original)
+++ llvm/trunk/test/CodeGen/X86/merge-consecutive-loads-256.ll Tue Aug 16 08:33:33 2016
@@ -222,7 +222,7 @@ define <4 x i64> @merge_4i64_i64_1zzu(i6
   %val0 = load i64, i64* %ptr0
   %res0 = insertelement <4 x i64> undef, i64 %val0, i32 0
   %res1 = insertelement <4 x i64> %res0, i64 0, i32 1
-  %res2 = insertelement <4 x i64> %res1, i64 0, i32 1
+  %res2 = insertelement <4 x i64> %res1, i64 0, i32 2
   ret <4 x i64> %res2
 }
 




More information about the llvm-commits mailing list