Skip to content

Commit

Permalink
[AVR] CPIRdK can only work with r16..r31; Authored by Dr. Gergo Erdi
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmckay authored and dylanmckay committed May 31, 2017
1 parent 2d52a6e commit d80acb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/AVR/AVRInstrInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ let Defs = [SREG] in
let Uses = [SREG] in
def CPIRdK : FRdK<0b0011,
(outs),
(ins GPR8:$rd, imm_ldi8:$k),
(ins LD8:$rd, imm_ldi8:$k),
"cpi\t$rd, $k",
[(AVRcmp i8:$rd, imm:$k), (implicit SREG)]>;
}
Expand Down

0 comments on commit d80acb0

Please sign in to comment.