brintos

brintos / llvm-project-archived public Read only

0
0
Text · 454 B · 3bbc384 Raw
17 lines · plain
1; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -o - | FileCheck %s2; RUN: llc -mtriple=thumbv7-apple-ios %s -o - | FileCheck %s3; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -filetype=obj -o %t4; RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=OBJ5 6; OBJ-NOT: dmb7 8define void @fence_singlethread() {9; CHECK-LABEL: fence_singlethread:10; CHECK-NOT: dmb11; CHECK: @MEMBARRIER12; CHECK-NOT: dmb13 14  fence syncscope("singlethread") seq_cst15  ret void16}17