AMDGPU: llvm.amdgcn.interp.mov is a source of divergence
authorNicolai Haehnle <nhaehnle@gmail.com>
Mon, 12 Dec 2016 16:52:19 +0000 (16:52 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Mon, 12 Dec 2016 16:52:19 +0000 (16:52 +0000)
commitf45ea4bbc587a171b0643428de1c2693259cb072
treec7ab62c559be03e44c211808516dfd1a31544508
parent84171bd476830ba301f6c31cb53396710d8e9f43
AMDGPU: llvm.amdgcn.interp.mov is a source of divergence

Summary:
While the result is constant across a single primitive, each pixel
shader wave can have pixels from multiple primitives.

Reviewers: tstellarAMD, arsenm

Subscribers: kzhuravl, wdng, yaxunl, llvm-commits, tony-tye

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

llvm-svn: 289447
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp