OSDN Git Service

AMDGPU: Fix not checking for copy when looking at copy src
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Apr 2019 14:54:39 +0000 (14:54 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 22 Apr 2019 14:54:39 +0000 (14:54 +0000)
commit785d1f76449b050fe4b0bd0788cf4b6f35c98281
treeadbeab8c8ae48637961272eed8759bcf622454fa
parent31bd08af2d5ea374639b5ebf7ce4ba79d721bc56
AMDGPU: Fix not checking for copy when looking at copy src

Effectively reverts r356956. The check for isFullCopy was excessive,
but there still needs to be a check that this is a copy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp