Home | History | Annotate | Download | only in atomics
      1 ; RUN: llc -mattr=avr6 < %s -march=avr | FileCheck %s
      2 
      3 ; Checks that atomic fences are simply removed from IR.
      4 ; AVR is always singlethreaded so fences do nothing.
      5 
      6 ; CHECK_LABEL: atomic_fence8
      7 ; CHECK:      ; %bb.0:
      8 ; CHECK-NEXT:   ret
      9 define void @atomic_fence8() {
     10   fence acquire
     11   ret void
     12 }
     13 
     14