[llvm] r284118 - Copy+pasts typo in comment describing combine test

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 05:54:32 PDT 2016


Author: rksimon
Date: Thu Oct 13 07:54:32 2016
New Revision: 284118

URL: http://llvm.org/viewvc/llvm-project?rev=284118&view=rev
Log:
Copy+pasts typo in comment describing combine test

Repeated the "fold (mul x, 0) -> 0" instead of "fold (mul x, 1) -> x"

Modified:
    llvm/trunk/test/CodeGen/X86/combine-mul.ll

Modified: llvm/trunk/test/CodeGen/X86/combine-mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/combine-mul.ll?rev=284118&r1=284117&r2=284118&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/combine-mul.ll (original)
+++ llvm/trunk/test/CodeGen/X86/combine-mul.ll Thu Oct 13 07:54:32 2016
@@ -43,7 +43,7 @@ define <4 x i32> @combine_vec_mul_zero(<
   ret <4 x i32> %1
 }
 
-; fold (mul x, 0) -> 0
+; fold (mul x, 1) -> x
 define <4 x i32> @combine_vec_mul_one(<4 x i32> %x) {
 ; SSE-LABEL: combine_vec_mul_one:
 ; SSE:       # BB#0:




More information about the llvm-commits mailing list