If an addrspacecast needed to be inserted again, this was creating a
clone of the original cast for each user. Just use the original, which
also saves losing the value name.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D63402
InferAddressSpaces: Fix cloning original addrspacecast ClosedPublic Authored by arsenm on Jun 17 2019, 4:30 AM.
Details
Diff Detail Event TimelineHerald added subscribers: jfb, nhaehnle, wdng, jvesely. · View Herald TranscriptJun 17 2019, 4:30 AM This revision is now accepted and ready to land.Jun 17 2019, 6:46 AM
Revision Contents
Diff 205020 lib/Transforms/Scalar/InferAddressSpaces.cpp
test/Transforms/InferAddressSpaces/AMDGPU/icmp.ll
test/Transforms/InferAddressSpaces/AMDGPU/infer-addrspacecast.ll
test/Transforms/InferAddressSpaces/AMDGPU/intrinsics.ll
test/Transforms/InferAddressSpaces/AMDGPU/redundant-addrspacecast.ll
test/Transforms/InferAddressSpaces/AMDGPU/select.ll
test/Transforms/InferAddressSpaces/AMDGPU/volatile.ll
|