HomePhabricator

AMDGPU: Fix return of non-void-returning shaders

Authored by nhaehnle on Jul 6 2016, 1:35 AM.

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

llvm-svn: 274612

Details

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