brintos

brintos / llvm-project-archived public Read only

0
0
Text · 724 B · ee4a517 Raw
24 lines · plain
1// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s --check-prefix=CHECK-LLVM2 3// CHECK-LABEL: @llvm_nvvm_tcgen05_fence4llvm.func @llvm_nvvm_tcgen05_fence() {5  // CHECK-LLVM: call void @llvm.nvvm.tcgen05.fence.before.thread.sync()6  nvvm.tcgen05.fence #nvvm.tcgen05_fence<before>7 8  // CHECK-LLVM: call void @llvm.nvvm.tcgen05.fence.after.thread.sync()9  nvvm.tcgen05.fence #nvvm.tcgen05_fence<after>10 11  llvm.return12}13 14// CHECK-LABEL: @llvm_nvvm_tcgen05_wait15llvm.func @llvm_nvvm_tcgen05_wait() {16  // CHECK-LLVM: call void @llvm.nvvm.tcgen05.wait.ld()17  nvvm.tcgen05.wait #nvvm.tcgen05_wait<load>18 19  // CHECK-LLVM: call void @llvm.nvvm.tcgen05.wait.st()20  nvvm.tcgen05.wait #nvvm.tcgen05_wait<store>21 22  llvm.return23}24