[llvm] r304283 - [AVR] CPIRdK can only work with r16..r31; Authored by Dr. Gergo Erdi
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 23:10:59 PDT 2017
Author: dylanmckay
Date: Wed May 31 01:10:59 2017
New Revision: 304283
URL: http://llvm.org/viewvc/llvm-project?rev=304283&view=rev
Log:
[AVR] CPIRdK can only work with r16..r31; Authored by Dr. Gergo Erdi
(https://github.com/avr-rust/rust/issues/50)
Modified:
llvm/trunk/lib/Target/AVR/AVRInstrInfo.td
Modified: llvm/trunk/lib/Target/AVR/AVRInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AVR/AVRInstrInfo.td?rev=304283&r1=304282&r2=304283&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRInstrInfo.td (original)
+++ llvm/trunk/lib/Target/AVR/AVRInstrInfo.td Wed May 31 01:10:59 2017
@@ -904,7 +904,7 @@ let Defs = [SREG] in
// Compares a register with an 8 bit immediate.
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)]>;
}
More information about the llvm-commits
mailing list