Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/Support/TargetParserTest.cpp | ||
---|---|---|
1686 | Can you keep a unit test covering the new version of the function? |
llvm/unittests/Support/TargetParserTest.cpp | ||
---|---|---|
1686 | The old version had special treatment for INVALID, but the new version is just returning the feature as written in AArch64TargetParser.def. A unit test would consist of a list of getArchFeature() calls with the same strings as in the .def. So I could certainly add it but I'm not sure that it adds any value as a unit test? |
Can you keep a unit test covering the new version of the function?