[PATCH] D51348: CodeGen: Make computeRegisterLiveness consider successors

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 28 04:56:30 PDT 2018


arsenm created this revision.
arsenm added a reviewer: MatzeB.
Herald added subscribers: nhaehnle, wdng, jvesely.
arsenm added dependencies: D51345: AMDGPU: Shrink insts to fold immediates, D51344: AMDGPU: Move canShrink into TII.

If the end of the block is reached during the scan, check
the live ins of the successors. This was already done in the
other direction if the block entry was reached.


https://reviews.llvm.org/D51348

Files:
  lib/CodeGen/MachineBasicBlock.cpp
  test/CodeGen/AMDGPU/fold-immediate-operand-shrink.mir
  test/CodeGen/AMDGPU/split-scalar-i64-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51348.162830.patch
Type: text/x-patch
Size: 3958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180828/a831ff39/attachment.bin>


More information about the llvm-commits mailing list