OSDN Git Service

AMDGPU: Preserve metadata when widening loads
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 5 Jun 2018 19:52:56 +0000 (19:52 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 5 Jun 2018 19:52:56 +0000 (19:52 +0000)
commit19dfb4b388a8199c1c62555ee7d8e88464f9c22e
tree275495ab7557ae1c8c52122e6630e1575f239c98
parent0c5ab47e3bda027aa30709c5757fc034cca90d17
AMDGPU: Preserve metadata when widening loads

Preserves the low bound of the !range. I don't think
it's legal to do anything with the top half since it's
theoretically reading garbage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334045 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
test/CodeGen/AMDGPU/widen_extending_scalar_loads.ll