[PATCH] D62653: [Mips][DSP] Fix physregs incorrectly marked as dead.
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 05:19:29 PDT 2019
mbrkusanin created this revision.
mbrkusanin added reviewers: atanasyan, mstojanovic, sdardis, petarj.
Herald added a subscriber: arichardson.
Some RDDSP and WRDSP operands are added by post-isel target hook which is too
late. Because of this some of registers used in those operands can be
incorrectly marked as dead in previous instructions. By keeping track of those
operands and checking them for later use we can remove correct registers
incorrectly marked as dead.
We can also remove changes added in rL272647 <https://reviews.llvm.org/rL272647> and removing of dead flags in
LiveVariable analysis pass.
https://reviews.llvm.org/D62653
Files:
include/llvm/CodeGen/MachineInstr.h
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
lib/CodeGen/SelectionDAG/InstrEmitter.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Target/Mips/MicroMipsDSPInstrInfo.td
lib/Target/Mips/MipsDSPInstrInfo.td
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62653.202139.patch
Type: text/x-patch
Size: 13544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/2cc09804/attachment.bin>
More information about the llvm-commits
mailing list