[llvm-commits] [llvm] r124933 - in /llvm/trunk/test/CodeGen: Thumb2/thumb2-mul.ll thumb2-mul.ll

Bob Wilson bob.wilson at apple.com
Fri Feb 4 20:15:50 PST 2011


Author: bwilson
Date: Fri Feb  4 22:15:50 2011
New Revision: 124933

URL: http://llvm.org/viewvc/llvm-project?rev=124933&view=rev
Log:
Move a test that ended up in the wrong place.

Removed:
    llvm/trunk/test/CodeGen/thumb2-mul.ll
Modified:
    llvm/trunk/test/CodeGen/Thumb2/thumb2-mul.ll

Modified: llvm/trunk/test/CodeGen/Thumb2/thumb2-mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/thumb2-mul.ll?rev=124933&r1=124932&r2=124933&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/thumb2-mul.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/thumb2-mul.ll Fri Feb  4 22:15:50 2011
@@ -6,3 +6,21 @@
     %tmp = mul i32 %a, %b
     ret i32 %tmp
 }
+
+%struct.CMPoint = type { %struct.Point, float, float, [5 x float] }
+%struct.Point = type { float, float }
+
+define %struct.CMPoint* @t1(i32 %i, i32 %j, i32 %n, %struct.CMPoint* %thePoints) nounwind readnone ssp {
+entry:
+; CHECK: t1:
+; CHECK: mla     r0, r2, r0, r1
+; CHECK: add.w   r0, r0, r0, lsl #3
+; CHECL: add.w   r0, r3, r0, lsl #2
+  %mul = mul i32 %n, %i
+  %add = add i32 %mul, %j
+  %0 = ptrtoint %struct.CMPoint* %thePoints to i32
+  %mul5 = mul i32 %add, 36
+  %add6 = add i32 %mul5, %0
+  %1 = inttoptr i32 %add6 to %struct.CMPoint*
+  ret %struct.CMPoint* %1
+}

Removed: llvm/trunk/test/CodeGen/thumb2-mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/thumb2-mul.ll?rev=124932&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/thumb2-mul.ll (original)
+++ llvm/trunk/test/CodeGen/thumb2-mul.ll (removed)
@@ -1,18 +0,0 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 | FileCheck %s
-
-%struct.CMPoint = type { %struct.Point, float, float, [5 x float] }
-%struct.Point = type { float, float }
-
-define %struct.CMPoint* @t1(i32 %i, i32 %j, i32 %n, %struct.CMPoint* %thePoints) nounwind readnone ssp {
-entry:
-; CHECK: mla     r0, r2, r0, r1
-; CHECK: add.w   r0, r0, r0, lsl #3
-; CHECL: add.w   r0, r3, r0, lsl #2
-  %mul = mul i32 %n, %i
-  %add = add i32 %mul, %j
-  %0 = ptrtoint %struct.CMPoint* %thePoints to i32
-  %mul5 = mul i32 %add, 36
-  %add6 = add i32 %mul5, %0
-  %1 = inttoptr i32 %add6 to %struct.CMPoint*
-  ret %struct.CMPoint* %1
-}





More information about the llvm-commits mailing list