mathis-s / CoreDSL2LLVM

Compiler for generating LLVM ISel Patterns from high-level instruction behavior descriptions
Other
2 stars 1 forks source link

PatternGen: More granular error reporting would be helpful #3

Closed PhilippvK closed 7 months ago

PhilippvK commented 7 months ago

For most instructions, i get the following error:

Pattern Generation failed for implCV_ADDUNR: format

It would be great if the error would be a bit more verbose to identify either:

Maybe we can das the line in PatternGen.cpp where the error was initially raises to the Err values. Alternatively it might be reasonable to split PatternError.FORMAT into more granular error types…