[llvm] r304116 - [AVR] Remove SREG from CPI's Uses; authored by Florian Zeitz

Dylan McKay via llvm-commits llvm-commits at lists.llvm.org
Sun May 28 17:10:14 PDT 2017


Author: dylanmckay
Date: Sun May 28 19:10:14 2017
New Revision: 304116

URL: http://llvm.org/viewvc/llvm-project?rev=304116&view=rev
Log:
[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

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=304116&r1=304115&r2=304116&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AVR/AVRInstrInfo.td (original)
+++ llvm/trunk/lib/Target/AVR/AVRInstrInfo.td Sun May 28 19:10:14 2017
@@ -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),




More information about the llvm-commits mailing list