AMDGPU/SI: Fix crash when inline assembly is used in a graphics shader
authorNicolai Haehnle <nhaehnle@gmail.com>
Wed, 6 Jan 2016 22:01:04 +0000 (22:01 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Wed, 6 Jan 2016 22:01:04 +0000 (22:01 +0000)
commitbd0b681bbd0977986ee9b76d203db4e3be7a27ec
tree1472be902719f291559334f4c2c24147e74072dc
parente7a3d30d805bee79bdf9f1e8ef71872c45fcb664
AMDGPU/SI: Fix crash when inline assembly is used in a graphics shader

Summary:
This is admittedly something that you could only run into by manually
playing around with shader assembly because the SITypeWriter pass is
skipped for compute.

Reviewers: arsenm, tstellarAMD

Subscribers: arsenm, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256980 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SITypeRewriter.cpp
test/CodeGen/AMDGPU/inline-asm.ll