[llvm-bugs] [Bug 37310] New: [TableGen] Add more checks to the subtarget emitter to validate scheduling information.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 2 04:10:07 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37310
Bug ID: 37310
Summary: [TableGen] Add more checks to the subtarget emitter to
validate scheduling information.
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: courbet at google.com
CC: llvm-bugs at lists.llvm.org
Some scheduling information makes no sense but makes it through the
SubtargetEmitter without any warnings. We should add more validation.
Stuff that makes absolutely no sense should trigger fatal errors.
One example I stumbled upon is inconsistencies in resource units vs resource
cycles: The cycles are optional and default to all ones, opening up to various
miserpretations by the developers that are not caught at compile time. This
happens at least on Arm/AArch64 and X86.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180502/21fb4da0/attachment.html>
More information about the llvm-bugs
mailing list