aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2022-12-13 17:25:42 -0500
committerBrad Smith <brad@comstyle.com>2022-12-13 17:25:42 -0500
commiteaade37fddec5439f58587347ad7c463f7a41400 (patch)
tree12e60bd4e061bef5c377a3d13468f7759689e34d /llvm/lib/Object/MachOObjectFile.cpp
parentd38d6065584ee5dd837e9a629f90c731d8a7dffc (diff)
downloadllvm-eaade37fddec5439f58587347ad7c463f7a41400.zip
llvm-eaade37fddec5439f58587347ad7c463f7a41400.tar.gz
llvm-eaade37fddec5439f58587347ad7c463f7a41400.tar.bz2
[SPARC] Mark the %g0 register as constant & use it to materialize zeros
Materialize zeros by copying from %g0, which is now marked as constant. This makes it possible for some common operations (like integer negation) to be performed in fewer instructions. This continues @arichardson's patch at D132561. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D138887
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions