[all-commits] [llvm/llvm-project] ba8110: AMDGPU/GFX10: Fix NSA reassign pass when operands ...
Nicolai Hähnle via All-commits
all-commits at lists.llvm.org
Sat Feb 1 13:42:42 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ba8110161dfb096bbc63039afd87ff6417328f91
https://github.com/llvm/llvm-project/commit/ba8110161dfb096bbc63039afd87ff6417328f91
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2020-02-01 (Sat, 01 Feb 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNNSAReassign.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.nsa.ll
Log Message:
-----------
AMDGPU/GFX10: Fix NSA reassign pass when operands are undef
Summary:
Virtual registers that are undef have an empty LiveInterval at this
point, which means beginIndex() and endIndex() cannot be used. We
only need those indices to determine the range in which to scan for
affected other NSA instructions, and undef operands cannot contribute
to that range.
Reviewers: arsenm, rampitec, mareko
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73831
More information about the All-commits
mailing list