[PATCH] D69898: [Mips] Add rematerialization support for ldi.fmt
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 6 08:36:08 PST 2019
mbrkusanin created this revision.
mbrkusanin added reviewers: petarj, atanasyan, mstojanovic.
mbrkusanin added a project: LLVM.
Herald added subscribers: jrtc27, hiraditya, arichardson, sdardis.
Instruction ldi.fmt can be considered cheap enough to avoid spill and restore
of value that it produces since it's loaded from immediate. Also for other
instructions that have isReMaterializable flag we can provide earlier result
if they can actually be rematerialized.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69898
Files:
llvm/lib/Target/Mips/MipsInstrInfo.cpp
llvm/lib/Target/Mips/MipsInstrInfo.h
llvm/lib/Target/Mips/MipsMSAInstrInfo.td
llvm/test/CodeGen/Mips/msa/remat-ldi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69898.228069.patch
Type: text/x-patch
Size: 9170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191106/1fae32c2/attachment-0001.bin>
More information about the llvm-commits
mailing list