This is patch to add PowerPC target to llvm-exegesis.
The target does just enough to be able to run llvm-exegesis in latency mode for at least some opcodes.
Details
Diff Detail
Event Timeline
Thanks for the patch !
llvm/tools/llvm-exegesis/lib/CMakeLists.txt | ||
---|---|---|
13 | I think you wrote this against the version before PR39021 and failed to merge the changes in r342865. | |
llvm/tools/llvm-exegesis/lib/PowerPC/Target.cpp | ||
9 | "The PowerPC ExegesisTarget." | |
33 | remove the namespace; LLVM style does not put static functions in anonymous namespaces. | |
34 | getLoadImmediateOpcode | |
llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp | ||
2 | This file is missing a header. | |
llvm/unittests/tools/llvm-exegesis/PowerPC/TargetTest.cpp | ||
2 | ditto |
Nice ! Thx for the patch !
llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp | ||
---|---|---|
32 | typo unes |
Thanks for prompt review, I will update the patch to fix the issues.
llvm/tools/llvm-exegesis/lib/CMakeLists.txt | ||
---|---|---|
13 | Yes, you are right! I did a quick update before submitting the patch, and apparently I didn't merge all changes correctly. I will have a look at r342865, and update the patch. Thanks. | |
llvm/tools/llvm-exegesis/lib/PowerPC/Target.cpp | ||
9 | OK | |
33 | OK | |
34 | OK | |
llvm/unittests/tools/llvm-exegesis/PowerPC/AnalysisTest.cpp | ||
2 | I'll have a look, Thanks. |
llvm/tools/llvm-exegesis/lib/PowerPC/Target.cpp | ||
---|---|---|
32 | It seems these two static functions are still put in anonymous namespace (line 18 - line 76). |
I think you wrote this against the version before PR39021 and failed to merge the changes in r342865.