| Tom Stellard | 4409051 | 2016-02-13 02:09:49 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs -show-mc-encoding < %s | FileCheck -check-prefix=VI %s |
| 2 | |
| 3 | ; VI-LABEL: {{^}}dpp_test: |
| 4 | ; VI: v_mov_b32 v0, v0, 1, -1, 1, 1 ; encoding: [0xfa,0x02,0x00,0x7e,0x00,0x01,0x08,0x11] |
| 5 | define void @dpp_test(i32 addrspace(1)* %out, i32 %in) { |
| 6 | %tmp0 = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %in, i32 1, i1 1, i32 1, i32 1) #0 |
| 7 | store i32 %tmp0, i32 addrspace(1)* %out |
| 8 | ret void |
| 9 | } |
| 10 | |
| 11 | declare i32 @llvm.amdgcn.mov.dpp.i32(i32, i32, i1, i32, i32) #0 |
| 12 | |
| 13 | attributes #0 = { nounwind readnone convergent } |