[AMDGPU] Fix for issue in alloca to vector promotion pass

Description

[AMDGPU] Fix for issue in alloca to vector promotion pass

Summary:
Alloca promotion pass not dealing with non-canonical input

Added some additional checks so the pass simply backs-off forms it can't deal with (non-canonical)

Also added some test cases in non-canonical form to check that it no longer crashes

Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tpr, t-tye

Differential Revision: https://reviews.llvm.org/D31710

Details

Committed
dstuttardJun 9 2017, 7:16 AM
Differential Revision
D31710: [AMDGPU] Fix for issue in alloca to vector promotion pass
Parents
rL305078: [ARM] Custom machine-scheduler. NFCI.
Branches
Unknown
Tags
Unknown