aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorMaksim Panchenko <maks@fb.com>2024-02-06 19:59:53 -0800
committerGitHub <noreply@github.com>2024-02-06 19:59:53 -0800
commit8ea7f1d20ad8ab8c381800eefda948d85c6860cc (patch)
tree9fe5b49891d6dc302895099d114b5f632657a8b4 /llvm/utils/TableGen/CodeGenTarget.cpp
parentc7fa25f0b2398f7037af6e10b18456b69178f7c5 (diff)
downloadllvm-8ea7f1d20ad8ab8c381800eefda948d85c6860cc.zip
llvm-8ea7f1d20ad8ab8c381800eefda948d85c6860cc.tar.gz
llvm-8ea7f1d20ad8ab8c381800eefda948d85c6860cc.tar.bz2
[BOLT][NFCI] Keep instruction annotations (#80382)
We used to delete most instruction annotations before code emission. It was done to release memory taken by annotations and to reduce overall memory consumption. However, since the implementation of annotations has moved to using existing instruction operands, the memory overhead associated with them has reduced drastically. I measured that savings are less than 0.5% on large binaries and processing time is just slightly reduced if we keep them. Additionally, I plan to use annotations in pre-emission passes for the Linux kernel rewriter.
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions