HomePhabricator

AMDGPU: Fix return of non-void-returning shaders

Description

AMDGPU: Fix return of non-void-returning shaders

Summary:
Since "AMDGPU: Fix verifier errors in SILowerControlFlow", the logic that
ensures that a non-void-returning shader falls off the end of the last
basic block was effectively disabled, since SI_RETURN is now used.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96731

Reviewers: arsenm, tstellarAMD

Subscribers: arsenm, kzhuravl, llvm-commits

Differential Revision: http://reviews.llvm.org/D21975

Details

Committed
nhaJul 6 2016, 1:35 AM
Differential Revision
D21975: AMDGPU: Fix return of non-void-returning shaders
Parents
rL274611: Vector GEP test: renamed + some comments
Branches
Unknown
Tags
Unknown