blob: b4cd215f3a26af8cc248b5a073e32ecb5f607905 [file] [log] [blame]
; 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
}