[AVR] Remove SREG from CPI's Uses; authored by Florian Zeitz
authorDylan McKay <me@dylanmckay.io>
Mon, 29 May 2017 00:10:14 +0000 (00:10 +0000)
committerDylan McKay <me@dylanmckay.io>
Mon, 29 May 2017 00:10:14 +0000 (00:10 +0000)
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

llvm/lib/Target/AVR/AVRInstrInfo.td

index 06ad2b3..f10ca39 100644 (file)
@@ -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),