Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
remove some routines that we moved to hc.hpp
Browse files Browse the repository at this point in the history
Change-Id: I3520f3164e3ef7774a64130a8cd266c75554664e
  • Loading branch information
David Salinas committed Mar 19, 2019
1 parent bad58e9 commit 911266b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions hc/src/hc_amdgcn.ll
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ define protected i64 @__activelanemask_v4_b64_b1(i32 %input) #5 {
ret i64 %a
}

define protected i32 @__amdgcn_wave_sr1(i32 %v, i1 %b) #3 {
%call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %v, i32 312, i32 15, i32 15, i1 %b)
ret i32 %call
}
;define protected i32 @__amdgcn_wave_sr1(i32 %v, i1 %b) #3 {
; %call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %v, i32 312, i32 15, i32 15, i1 %b)
; ret i32 %call
;}

define protected i32 @__amdgcn_wave_sl1(i32 %v, i1 %b) #3 {
%call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %v, i32 304, i32 15, i32 15, i1 %b)
ret i32 %call
}
;define protected i32 @__amdgcn_wave_sl1(i32 %v, i1 %b) #3 {
; %call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %v, i32 304, i32 15, i32 15, i1 %b)
; ret i32 %call
;}

define protected i32 @__amdgcn_wave_rr1(i32 %v) #3 {
%call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %v, i32 316, i32 15, i32 15, i1 0)
Expand Down Expand Up @@ -127,18 +127,18 @@ define protected i32 @__amdgcn_ds_bpermute(i32 %index, i32 %src) #3 {
;llvm.amdgcn.ds.bpermute <index> <src>
declare i32 @llvm.amdgcn.ds.bpermute(i32, i32) #4

define protected i32 @__amdgcn_ds_swizzle(i32 %src, i32 %pattern) #3 {
%call = call i32 @llvm.amdgcn.ds.swizzle(i32 %src, i32 %pattern)
ret i32 %call
}
;define protected i32 @__amdgcn_ds_swizzle(i32 %src, i32 %pattern) #3 {
; %call = call i32 @llvm.amdgcn.ds.swizzle(i32 %src, i32 %pattern)
; ret i32 %call
;}

;llvm.amdgcn.ds.swizzle <index> <src>
declare i32 @llvm.amdgcn.ds.swizzle(i32, i32) #4
;declare i32 @llvm.amdgcn.ds.swizzle(i32, i32) #4

define protected i32 @__amdgcn_move_dpp(i32 %src, i32 %dpp_ctrl, i32 %row_mask, i32 %bank_mask, i1 %bound_ctrl) #3 {
%call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %src, i32 %dpp_ctrl, i32 %row_mask, i32 %bank_mask, i1 %bound_ctrl)
ret i32 %call
}
;define protected i32 @__amdgcn_move_dpp(i32 %src, i32 %dpp_ctrl, i32 %row_mask, i32 %bank_mask, i1 %bound_ctrl) #3 {
; %call = call i32 @llvm.amdgcn.mov.dpp.i32(i32 %src, i32 %dpp_ctrl, i32 %row_mask, i32 %bank_mask, i1 %bound_ctrl)
; ret i32 %call
;}

; llvm.amdgcn.mov.dpp.i32 <src> <dpp_ctrl> <row_mask> <bank_mask> <bound_ctrl>
declare i32 @llvm.amdgcn.mov.dpp.i32(i32, i32, i32, i32, i1) #4
Expand Down

0 comments on commit 911266b

Please sign in to comment.