Changed threadfences to match target parsing by hcc

Change-Id: I28fcabbaacd13495b707f263fd09afaead0665fa
Этот коммит содержится в:
Aditya Atluri
2016-12-12 10:16:58 -06:00
родитель c5f5e662ef
Коммит 812cf130b6
+2 -2
Просмотреть файл
@@ -2,12 +2,12 @@ target datalayout = "e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:
target triple = "amdgcn--amdhsa"
define void @__threadfence() #1 {
define linkonce_odr spir_func void @__threadfence() #1 {
fence syncscope(2) seq_cst
ret void
}
define void @__threadfence_block() #1 {
define linkonce_odr spir_func void @__threadfence_block() #1 {
fence syncscope(3) seq_cst
ret void
}