We shouldn't crash on unhandled intrinsics. Also simplify failure handling in loop.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
| lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | ||
|---|---|---|
| 546–551 | I'm not sure why this is here. If it doesn't make sense, feel free to remove it. | |
Comment Actions
r259546
| lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | ||
|---|---|---|
| 546–551 | I think we should replace it with a return false and an assert so it comes up again when calls are supported | |
I'm not sure why this is here. If it doesn't make sense, feel free to remove it.