[PATCH] D51350: CodeGen: Make computeRegisterLiveness search forward first
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 04:56:59 PDT 2018
arsenm created this revision.
arsenm added a reviewer: MatzeB.
Herald added subscribers: nhaehnle, wdng, jvesely.
If there is an unused def, this would previously
report that the register was live. Check for uses
first so that it is reported as dead if never used.
https://reviews.llvm.org/D51350
Files:
lib/CodeGen/MachineBasicBlock.cpp
test/CodeGen/AMDGPU/fold-immediate-operand-shrink.mir
test/CodeGen/Thumb/frame-access.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51350.162833.patch
Type: text/x-patch
Size: 4266 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/6bf54764/attachment.bin>
More information about the llvm-commits
mailing list