[AMDGPU] Fixed WWM bug in block otherwise entirely in WQM

Summary:
For a block with WQM on entry and exit and containing no exact mode
code, but containing some WWM code, the WQM pass forgot to process the
block at all and so did not insert code to enter and leave WWM.

This commit fixes that.

Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, dstuttard, t-tye, llvm-commits

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

Change-Id: I044792eead1293bed4203fb26ce75f47878afeb6

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333362 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed