summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-20 17:01:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-20 17:01:04 +0000
commit01de985ae62a65e98d881638c62768e2561b497f (patch)
treea3c029863485dec65764c91dc579ed5d6a520df2 /llvm/lib
parentd16abc09c4100eaf67cc830d810cf3511a23d45e (diff)
downloadbcm5719-llvm-01de985ae62a65e98d881638c62768e2561b497f.tar.gz
bcm5719-llvm-01de985ae62a65e98d881638c62768e2561b497f.zip
Fix an obvious copy-n-paste bug.
llvm-svn: 79535
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td
index c99c45adfe1..aaff818ac53 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb.td
@@ -655,7 +655,7 @@ let isCall = 1,
def : T1Pat<(addc tGPR:$lhs, imm0_7:$rhs),
(tADDi3 tGPR:$lhs, imm0_7:$rhs)>;
def : T1Pat<(addc tGPR:$lhs, imm8_255:$rhs),
- (tADDi3 tGPR:$lhs, imm8_255:$rhs)>;
+ (tADDi8 tGPR:$lhs, imm8_255:$rhs)>;
def : T1Pat<(addc tGPR:$lhs, tGPR:$rhs),
(tADDrr tGPR:$lhs, tGPR:$rhs)>;
OpenPOWER on IntegriCloud