[PATCH] D18927: [SystemZ]: Remove incorrect CC use for C*BReturn instructions.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 9 08:00:21 PDT 2016


koriakin created this revision.
koriakin added a reviewer: uweigand.
koriakin added a subscriber: llvm-commits.
koriakin set the repository for this revision to rL LLVM.

These are fused compare-and-branches, so they obviously don't use CC.

Repository:
  rL LLVM

http://reviews.llvm.org/D18927

Files:
  lib/Target/SystemZ/SystemZInstrInfo.td

Index: lib/Target/SystemZ/SystemZInstrInfo.td
===================================================================
--- lib/Target/SystemZ/SystemZInstrInfo.td
+++ lib/Target/SystemZ/SystemZInstrInfo.td
@@ -41,7 +41,7 @@
   def CondReturn : Alias<2, (outs), (ins cond4:$valid, cond4:$R1), []>;
 
 // Fused compare and conditional returns.
-let isReturn = 1, isTerminator = 1, hasCtrlDep = 1, Uses = [CC] in {
+let isReturn = 1, isTerminator = 1, hasCtrlDep = 1 in {
   def CRBReturn : Alias<6, (outs), (ins GR32:$R1, GR32:$R2, cond4:$M3), []>;
   def CGRBReturn : Alias<6, (outs), (ins GR64:$R1, GR64:$R2, cond4:$M3), []>;
   def CIBReturn : Alias<6, (outs), (ins GR32:$R1, imm32sx8:$I2, cond4:$M3), []>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18927.53129.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160409/738b0aaa/attachment.bin>


More information about the llvm-commits mailing list