From f6a9d062410e0828f287f342c2f3061df17485dc Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 11 Aug 2009 23:00:31 +0000 Subject: Shrinkify Thumb2 r = add sp, imm. llvm-svn: 78745 --- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp') diff --git a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp index b2173c6ca5d..af1e57b3e6f 100644 --- a/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -898,7 +898,7 @@ SDNode *ARMDAGToDAGISel::SelectDYN_ALLOC(SDValue Op) { Chain); if (Subtarget->isThumb1Only()) { - // Use tADDrSPr since Thumb1 does not have a sub r, sp, r. ARMISelLowering + // Use tADDspr since Thumb1 does not have a sub r, sp, r. ARMISelLowering // should have negated the size operand already. FIXME: We can't insert // new target independent node at this stage so we are forced to negate // it earlier. Is there a better solution? -- cgit v1.2.3