repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
CodeGen
/
ARM
/
noopt-dmb-v7.ll
blob
86b27600eb4b42860493aec27c39cc54c94cfd04
1
; Ensure that adjacent duplicated barriers are not removed at -O0.
2
; RUN: llc -O0 < %s -mtriple=armv7 -mattr=+db | FileCheck %s
3
4
define i32 @t1() {
5
entry:
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