The target does just enough to be able to run llvm-exegesis in latency mode for at least some opcodes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the contribution. I only have cosmetic comments.
unittests/tools/llvm-exegesis/Mips/TargetTest.cpp | ||
---|---|---|
27 ↗ | (On Diff #223870) | You don't need these. I guess this is a copy-paste from the X86 tests: these are remains from a time when we were not in namespace llvm. (Fixed in rL374143). |
56 ↗ | (On Diff #223870) | ditto: remove llvm:: |
57 ↗ | (On Diff #223870) | Don't you want to test the actual instruction ? |
tools/llvm-exegesis/lib/Assembler.cpp | ||
---|---|---|
241 ↗ | (On Diff #223870) | clang-format this line. it's too long. |
Comment Actions
Removed obsolete llvm:: and includes, ran clang-format. Added direct testing of the instruction.
Comment Actions
Thank you for the reviews. I don't have commit access. @petarj usually commits the patches.