[llvm] r262384 - TableGen: Check scheduling models for completeness
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 1 13:19:31 PST 2016
Hi Matthias,
> + PrintError("No schedule information for instruction '"
> + + Inst->TheDef->getName() + "'");
I think this needs a better diagnostic. The most common way this will
be hit is when some poor sucker is trying to test out a new
instruction and suddenly discovers he needs to mark it unsupported on
umpteen schedulers before LLVM will even compile his code.
I'd suggest explicitly calling out hasNoSchedulingInfo as a temporary
development fix.
Cheers.
Tim.
More information about the llvm-commits
mailing list