1 ; RUN: llc -march=amdgcn -stop-after=amdgpu-isel < %s | FileCheck -check-prefix=GCN %s
3 ; GCN-LABEL: name: scalar_not_i32
5 define amdgpu_kernel void @scalar_not_i32(ptr addrspace(1) %out, i32 %val) {
6 %not.val = xor i32 %val, -1
7 store i32 %not.val, ptr addrspace(1) %out
11 ; GCN-LABEL: name: scalar_not_i64
13 define amdgpu_kernel void @scalar_not_i64(ptr addrspace(1) %out, i64 %val) {
14 %not.val = xor i64 %val, -1
15 store i64 %not.val, ptr addrspace(1) %out
19 ; GCN-LABEL: name: vector_not_i32
21 define i32 @vector_not_i32(i32 %val) {
22 %not.val = xor i32 %val, -1
26 ; GCN-LABEL: name: vector_not_i64
29 define i64 @vector_not_i64(i64 %val) {
30 %not.val = xor i64 %val, -1