]> granicus.if.org Git - llvm/commit
Merging r266825:
authorTom Stellard <thomas.stellard@amd.com>
Sat, 4 Jun 2016 03:43:02 +0000 (03:43 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 4 Jun 2016 03:43:02 +0000 (03:43 +0000)
commitadf129408733e055c97b46ce0fa9b3f39a9b45ff
treed92ec03b7446651cb1e6735c6f15cbce69141f6f
parentbfa69e3afa5a1c0115be4a571f8f8fc229c04375
Merging r266825:

------------------------------------------------------------------------
r266825 | nhaehnle | 2016-04-19 14:58:22 -0700 (Tue, 19 Apr 2016) | 12 lines

AMDGPU: Guard VOPC instructions against incorrect commute

Summary:
The added testcase, which triggered this, was derived from a shader-db case
via bugpoint. A separate question is why scalar branching wasn't used.

Reviewers: arsenm, tstellarAMD

Subscribers: arsenm, llvm-commits

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

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/bug-vopc-commute.ll [new file with mode: 0644]