aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2022-12-07 13:25:38 -0500
committerBrad Smith <brad@comstyle.com>2022-12-07 13:34:13 -0500
commit2c41310fc146a1f609147c65ac5f30e5a57e84a8 (patch)
tree4cb3e85449ea5bcd1f3dadc637d57caf8f03f646 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentbbfbec94b10699d473c106d85d5a48ff5d69e721 (diff)
downloadllvm-2c41310fc146a1f609147c65ac5f30e5a57e84a8.zip
llvm-2c41310fc146a1f609147c65ac5f30e5a57e84a8.tar.gz
llvm-2c41310fc146a1f609147c65ac5f30e5a57e84a8.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/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions