[PATCH] D33223: [AVR] Remove SREG from CPI's Uses

Florian Zeitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 17:52:26 PDT 2017


Florob created this revision.

CPI does not read the status register, but only writes it.


https://reviews.llvm.org/D33223

Files:
  lib/Target/AVR/AVRInstrInfo.td


Index: lib/Target/AVR/AVRInstrInfo.td
===================================================================
--- lib/Target/AVR/AVRInstrInfo.td
+++ lib/Target/AVR/AVRInstrInfo.td
@@ -902,7 +902,6 @@
 
   // 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),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33223.99087.patch
Type: text/x-patch
Size: 397 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170516/06ad3900/attachment.bin>


More information about the llvm-commits mailing list