RegAllocFast: Add heuristic to detect values not live-out of a block
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 3 May 2019 17:03:24 +0000 (17:03 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 3 May 2019 17:03:24 +0000 (17:03 +0000)
commitdaf2d653fa47a3e4869e5b55c7011485e69ac2e9
tree8d7b04caf7cc7b07aa95e542f9203ff0eb343102
parent3428c9daef9d513aa67412c8bbe22417956a7aed
RegAllocFast: Add heuristic to detect values not live-out of a block

Add an improved/new heuristic to catch more cases when values are not
live out of a basic block.

Patch by Matthias Braun

llvm-svn: 359906
23 files changed:
llvm/lib/CodeGen/RegAllocFast.cpp
llvm/test/CodeGen/AArch64/swifterror.ll
llvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll
llvm/test/CodeGen/Mips/atomic.ll
llvm/test/CodeGen/Mips/atomic64.ll
llvm/test/CodeGen/Mips/atomicCmpSwapPW.ll
llvm/test/CodeGen/Mips/dsp-spill-reload.ll
llvm/test/CodeGen/PowerPC/addegluecrash.ll
llvm/test/CodeGen/PowerPC/vsx.ll
llvm/test/CodeGen/Thumb2/high-reg-spill.mir
llvm/test/CodeGen/X86/atomic-unordered.ll
llvm/test/CodeGen/X86/atomic32.ll
llvm/test/CodeGen/X86/atomic64.ll
llvm/test/CodeGen/X86/atomic6432.ll
llvm/test/CodeGen/X86/avx512-mask-zext-bugfix.ll
llvm/test/CodeGen/X86/pr11415.ll
llvm/test/CodeGen/X86/pr30430.ll
llvm/test/CodeGen/X86/pr32284.ll
llvm/test/CodeGen/X86/pr32484.ll
llvm/test/CodeGen/X86/pr34592.ll
llvm/test/CodeGen/X86/pr34653.ll
llvm/test/CodeGen/X86/swifterror.ll
llvm/test/DebugInfo/X86/pieces-1.ll