source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/noopt-dmb-v7.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 310 bytes
Line 
1; Ensure that adjacent duplicated barriers are not removed at -O0.
2; RUN: llc -O0 < %s -mtriple=armv7 -mattr=+db | FileCheck %s
3
4define i32 @t1() {
5entry:
6  fence seq_cst
7  fence seq_cst
8  fence seq_cst
9  ret i32 0
10}
11
12; CHECK: @ BB#0: @ %entry
13; CHECK-NEXT: dmb ish
14; CHECK-NEXT: dmb ish
15; CHECK-NEXT: dmb ish
Note: See TracBrowser for help on using the repository browser.