Skip to content

Commit 74fc1ce

Browse files
committed
[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
1 parent 251cdbe commit 74fc1ce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Target/AVR/AVRInstrInfo.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,6 @@ let Defs = [SREG] in
902902

903903
// CPI Rd, K
904904
// Compares a register with an 8 bit immediate.
905-
let Uses = [SREG] in
906905
def CPIRdK : FRdK<0b0011,
907906
(outs),
908907
(ins GPR8:$rd, imm_ldi8:$k),

0 commit comments

Comments
 (0)