diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 18:44:22 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 18:44:22 +0000 |
| commit | 3edec5c15a78e4abba7eb9102fef3891c84ebdfb (patch) | |
| tree | 839edc42f4a62f9496ceb5a140889d0c3da25ae8 /lib/Target/AMDGPU/DSInstructions.td | |
| parent | d8e91e46262bc44006913e6796843909f1ac7bcd (diff) | |
Notes
Diffstat (limited to 'lib/Target/AMDGPU/DSInstructions.td')
| -rw-r--r-- | lib/Target/AMDGPU/DSInstructions.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/AMDGPU/DSInstructions.td b/lib/Target/AMDGPU/DSInstructions.td index 31d2ebef481d..9c7097e9a520 100644 --- a/lib/Target/AMDGPU/DSInstructions.td +++ b/lib/Target/AMDGPU/DSInstructions.td @@ -817,6 +817,11 @@ defm : DSAtomicRetPat_mc<DS_MAX_RTN_U64, i64, "atomic_load_umax_local">; defm : DSAtomicCmpXChg_mc<DS_CMPST_RTN_B64, i64, "atomic_cmp_swap_local">; +def : Pat < + (SIds_ordered_count i32:$value, i16:$offset), + (DS_ORDERED_COUNT $value, (as_i16imm $offset)) +>; + //===----------------------------------------------------------------------===// // Real instructions //===----------------------------------------------------------------------===// |
