You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MC regression tests from LLVM are our basis of testing. But generating them is a not simple task. Because we either copy them with grep or some scripts which do the same.
This misses test cases though. And because there are so many it is easy to miss new ones.
The test files are difficult to parse, because they don't follow a well defined format.
It would be good to have a different approach to copy the test cases. It should not involve grep or regex with Python. It should guarantee that every regression test from LLVM is in our repo.
Additional context
A possible solution is to run all test cases. Because they are passed to llvm-mc we could add the show-encoding option and parse the output from there (which is easier).
The text was updated successfully, but these errors were encountered:
Feature
language
Describe the feature you'd like
The MC regression tests from LLVM are our basis of testing. But generating them is a not simple task. Because we either copy them with
grep
or some scripts which do the same.This misses test cases though. And because there are so many it is easy to miss new ones.
The test files are difficult to parse, because they don't follow a well defined format.
It would be good to have a different approach to copy the test cases. It should not involve grep or regex with Python. It should guarantee that every regression test from LLVM is in our repo.
Additional context
A possible solution is to run all test cases. Because they are passed to
llvm-mc
we could add theshow-encoding
option and parse the output from there (which is easier).The text was updated successfully, but these errors were encountered: