[llvm] r262549 - TargetSchedule: Allow explicit Unsupported markers in InstRW

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 16:05:07 PST 2016


Author: matze
Date: Wed Mar  2 18:05:07 2016
New Revision: 262549

URL: http://llvm.org/viewvc/llvm-project?rev=262549&view=rev
Log:
TargetSchedule: Allow explicit Unsupported markers in InstRW

Modified:
    llvm/trunk/include/llvm/Target/TargetSchedule.td

Modified: llvm/trunk/include/llvm/Target/TargetSchedule.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetSchedule.td?rev=262549&r1=262548&r2=262549&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetSchedule.td (original)
+++ llvm/trunk/include/llvm/Target/TargetSchedule.td Wed Mar  2 18:05:07 2016
@@ -393,6 +393,8 @@ class InstRW<list<SchedReadWrite> rw, da
   list<SchedReadWrite> OperandReadWrites = rw;
   dag Instrs = instrlist;
   SchedMachineModel SchedModel = ?;
+  // Allow a subtarget to mark some instructions as unsupported.
+  bit Unsupported = 0;
 }
 
 // Map a set of itinerary classes to SchedReadWrite resources. This is




More information about the llvm-commits mailing list