[llvm] [BOLT][AArch64] Speedup `computeInstructionSize` (PR #121106)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 17:48:59 PST 2025
================
@@ -1790,6 +1790,14 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
}
uint16_t getMinFunctionAlignment() const override { return 4; }
+
+ std::optional<uint32_t>
+ getInstructionSize(const MCInst &Inst) const override {
+ if (isPseudo(Inst)) {
----------------
liusy58 wrote:
Ok, done~
https://github.com/llvm/llvm-project/pull/121106
More information about the llvm-commits
mailing list