brintos

brintos / llvm-project-archived public Read only

0
0
Text · 657 B · 23318ac Raw
28 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 22; RUN: llc -mtriple=m68k-linux-gnu < %s | FileCheck %s3 4; M68k's libgcc does NOT have __sync_synchronize so we shouldn't5; lower to that.6 7define void @atomic_fence() {8; CHECK-LABEL: atomic_fence:9; CHECK:         .cfi_startproc10; CHECK-NEXT:  ; %bb.0: ; %entry11; CHECK-NEXT:    ;APP12; CHECK-NEXT:    ;NO_APP13; CHECK-NEXT:    ;APP14; CHECK-NEXT:    ;NO_APP15; CHECK-NEXT:    ;APP16; CHECK-NEXT:    ;NO_APP17; CHECK-NEXT:    ;APP18; CHECK-NEXT:    ;NO_APP19; CHECK-NEXT:    rts20entry:21  fence acquire22  fence release23  fence acq_rel24  fence seq_cst25  ret void26}27 28