HomePhabricator

[AMDGPU] Fix a weird WWM intrinsic issue.

Description

[AMDGPU] Fix a weird WWM intrinsic issue.

I found a really strange WWM issue through a very convoluted shader that
essentially boils down to a bug in SIInstrInfo where canReadVGPR did not
correctly identify that WWM is like a copy and can have a VGPR as its
source.

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

Details

Committed
sheredomJan 29 2019, 6:28 AM
Differential Revision
D56002: [AMDGPU] Fix a weird WWM intrinsic issue.
Parents
rL352499: [ELF] Simplify. NFC
Branches
Unknown
Tags
Unknown