For targets with different addressing modes in each address space,
if this is dropped querying isLegalAddressingMode later with this
will give a nonsense result, breaking the isLegalUse assertions.
This is a candidate for the 4.0 release branch.
Paths
| Differential D29263
LSR: Don't drop address space when type doesn't match ClosedPublic Authored by arsenm on Jan 29 2017, 1:44 PM.
Details
Summary For targets with different addressing modes in each address space, This is a candidate for the 4.0 release branch.
Diff Detail
Revision Contents
Diff 86223 lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/Transforms/LoopStrengthReduce/AMDGPU/preserve-addrspace-assert.ll
|