[AMDGPU] SDWA: make pass global
authorSam Kolton <Sam.Kolton@amd.com>
Wed, 12 Apr 2017 09:36:05 +0000 (09:36 +0000)
committerSam Kolton <Sam.Kolton@amd.com>
Wed, 12 Apr 2017 09:36:05 +0000 (09:36 +0000)
commitaff8341da2592221d58cf1aa07265549617b5ab7
treea63e6aa4b1c76e0d4ba950a042d9e2942aca79ee
parent702dac6d35f54c0e093e901a9b420b466ef315cd
[AMDGPU] SDWA: make pass global

Summary: Remove checks for basic blocks.

Reviewers: vpykhtin, rampitec, arsenm

Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye

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

llvm-svn: 300040
llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp
llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll