HomePhabricator

[AMDGPU] Fix DS_WRITE_B32 patterns

Authored by rampitec on Feb 19 2020, 1:25 PM.

Description

[AMDGPU] Fix DS_WRITE_B32 patterns

It uses VGPR_32.RegTypes which includes 16 bit types. As a
result DS_WRITE_B32 may be generated for "store i16" which
is a bug. The only reason we do not hit it now is relative
patterns complexity and sorting. Should DS_WRITE_B16 pattern
complexity become higher and the bug appears.

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

Details

Committed
rampitecFeb 19 2020, 1:42 PM
Differential Revision
D74868: [AMDGPU] Fix DS_WRITE_B32 patterns
Parents
rGddd2257f48a8: [TSan] Fix incorrect expansion of `%deflake` lit substitution.
Branches
Unknown
Tags
Unknown