getCalledFunction() is null, so this would crash. Replace crash with an error on unsupported call.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D11507
AMDGPU: Fix crash if called function is a bitcast
ClosedPublic Authored by arsenm on Jul 26 2015, 12:15 AM.
Details
Summary getCalledFunction() is null, so this would crash. Replace crash with an error on unsupported call.
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Jul 27 2015, 9:22 AM
Revision Contents
Diff 30645 lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/promote-alloca-bitcast-function.ll
|