summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2017-05-29 00:10:14 +0000
committerDylan McKay <me@dylanmckay.io>2017-05-29 00:10:14 +0000
commit74fc1ce0c282d6aceec5f1adccc5f8d8d813ba93 (patch)
treee3eabcdf09ca6cb87726470a0227a46c24c9f79a /llvm/lib
parent251cdbef1d5be41bc053762b4f12dbfd6b59f2d6 (diff)
downloadbcm5719-llvm-74fc1ce0c282d6aceec5f1adccc5f8d8d813ba93.tar.gz
bcm5719-llvm-74fc1ce0c282d6aceec5f1adccc5f8d8d813ba93.zip
[AVR] Remove SREG from CPI's Uses; authored by Florian Zeitz
Summary: CPI does not read the status register, but only writes it. Reviewers: dylanmckay Reviewed By: dylanmckay Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33223 llvm-svn: 304116
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AVR/AVRInstrInfo.td1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/AVRInstrInfo.td b/llvm/lib/Target/AVR/AVRInstrInfo.td
index 06ad2b3ffdf..f10ca394f36 100644
--- a/llvm/lib/Target/AVR/AVRInstrInfo.td
+++ b/llvm/lib/Target/AVR/AVRInstrInfo.td
@@ -902,7 +902,6 @@ let Defs = [SREG] in
// CPI Rd, K
// Compares a register with an 8 bit immediate.
- let Uses = [SREG] in
def CPIRdK : FRdK<0b0011,
(outs),
(ins GPR8:$rd, imm_ldi8:$k),
OpenPOWER on IntegriCloud