Invalid IR in unreachable code is technically valid IR. In this case,
the address space of the value was never inferred, and we tried to
rewrite it with an invalid address space value which would assert.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D87709
InferAddressSpaces: Fix assert with unreachable code ClosedPublic Authored by arsenm on Sep 15 2020, 11:14 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 15 2020, 11:24 AM
Revision Contents
Diff 291978 llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
llvm/test/Transforms/InferAddressSpaces/AMDGPU/unreachable-code-assert.ll
|