1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc --mtriple=loongarch32 -mattr=+d < %s | FileCheck %s --check-prefix=LA32
3 ; RUN: llc --mtriple=loongarch64 -mattr=+d < %s | FileCheck %s --check-prefix=LA64
5 define void @fence_singlethread() {
6 ; LA32-LABEL: fence_singlethread:
8 ; LA32-NEXT: #MEMBARRIER
11 ; LA64-LABEL: fence_singlethread:
13 ; LA64-NEXT: #MEMBARRIER
15 fence syncscope("singlethread") seq_cst