[PATCH] D64486: [MIPS GlobalISel] Skip copies in addUseDef and addDefUses
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 06:49:33 PDT 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.
Skip copies between virtual registers during search for UseDefs
and DefUses.
Since each operand has one def search for UseDefs is straightforward.
But since operand can have many uses, we have to check all uses of
each copy we traverse during search for DefUses.
Repository:
rL LLVM
https://reviews.llvm.org/D64486
Files:
lib/Target/Mips/MipsRegisterBankInfo.cpp
lib/Target/Mips/MipsRegisterBankInfo.h
test/CodeGen/Mips/GlobalISel/regbankselect/TypeInfoforMF_skipCopies.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64486.208945.patch
Type: text/x-patch
Size: 7236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190710/6d679de9/attachment-0001.bin>
More information about the llvm-commits
mailing list