aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-06-01 18:29:13 -0700
committerCraig Topper <craig.topper@sifive.com>2021-06-01 18:59:00 -0700
commit41ff1e0e29bbd3c12c8fdb0a0bbed8bda95dec85 (patch)
treeb8e73ed534e8d42fa1e07ad19bd0b5b1800a27dd /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parente61917ce2dc71573248f5de54c5e1628d96648fc (diff)
downloadllvm-41ff1e0e29bbd3c12c8fdb0a0bbed8bda95dec85.zip
llvm-41ff1e0e29bbd3c12c8fdb0a0bbed8bda95dec85.tar.gz
llvm-41ff1e0e29bbd3c12c8fdb0a0bbed8bda95dec85.tar.bz2
[RISCV] Improve register allocation for masked vwadd(u).wv, vwsub(u).wv, vfwadd.wv, and vfwsub.wv.
The first source has the same EEW as the destination, but we're using earlyclobber which prevents them from ever being the same register. To workaround this, add a special TIED pseudo to use whenever the first source and merge operand are the same value. This allows us to use a single operand for the merge operand and first source which we can then tie to the destination. A tied source disables earlyclobber for that operand. Reviewed By: arcbbb Differential Revision: https://reviews.llvm.org/D103211
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions