Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/AVR/atomics/fence.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
; RUN: llc -mattr=avr6 < %s -march=avr | FileCheck %s ; Checks that atomic fences are simply removed from IR. ; AVR is always singlethreaded so fences do nothing. ; CHECK_LABEL: atomic_fence8 ; CHECK: ; BB#0: ; CHECK-NEXT: ret define void @atomic_fence8() { fence acquire ret void }