This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix crash if called function is a bitcast
ClosedPublic

Authored by arsenm on Jul 26 2015, 12:15 AM.

Details

Reviewers
tstellarAMD
Summary

getCalledFunction() is null, so this would crash. Replace crash with an error on unsupported call.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 30645.Jul 26 2015, 12:15 AM
arsenm retitled this revision from to AMDGPU: Fix crash if called function is a bitcast .
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
This revision is now accepted and ready to land.Jul 27 2015, 9:22 AM
arsenm closed this revision.Jul 28 2015, 11:29 AM

r243461