[PATCH] D51421: Don't count debug instructions towards neighborhood count

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 06:26:48 PDT 2018


arsenm created this revision.
arsenm added a reviewer: MatzeB.
Herald added subscribers: JDevlieghere, nhaehnle, wdng, jvesely.

In computeRegisterLiveness, the max instructions to search
was counting dbg_value instructions, which could potentially
cause an observable codegen change from the presence of debug
 info.


https://reviews.llvm.org/D51421

Files:
  lib/CodeGen/MachineBasicBlock.cpp
  test/CodeGen/AMDGPU/fold-immediate-operand-shrink.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51421.163072.patch
Type: text/x-patch
Size: 6627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/170a1455/attachment.bin>


More information about the llvm-commits mailing list