[PATCH] D43235: [SchedModel] Complete models shouldn't match against itineraries when they don't use them (PR35639) (WIP)

Andrew Trick via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 12:50:02 PST 2018


atrick added a comment.

I can confirm that the purpose of ItinRW is to avoid the need to define InstRW for a subtarget when the target already had itinerary classes. (Things would be *a lot* simpler if all the subtargets used the same style of machine description.)

CompleteModel can mean whatever is currently most useful to devs, but we don't want to lose the scheduling-time checks just because a subtarget doesn't define InstRW for everything. Maybe it would work for those subtargets should have InstRW { let Unsupported = 1 }  for opcodes that aren't covered by itinerary classes?


Repository:
  rL LLVM

https://reviews.llvm.org/D43235





More information about the llvm-commits mailing list