1*9880d681SAndroid Build Coastguard Worker; Ensure that adjacent duplicated barriers are not removed at -O0. 2*9880d681SAndroid Build Coastguard Worker; RUN: llc -O0 < %s -mtriple=armv7 -mattr=+db | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Workerdefine i32 @t1() { 5*9880d681SAndroid Build Coastguard Workerentry: 6*9880d681SAndroid Build Coastguard Worker fence seq_cst 7*9880d681SAndroid Build Coastguard Worker fence seq_cst 8*9880d681SAndroid Build Coastguard Worker fence seq_cst 9*9880d681SAndroid Build Coastguard Worker ret i32 0 10*9880d681SAndroid Build Coastguard Worker} 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker; CHECK: @ BB#0: @ %entry 13*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: dmb ish 14*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: dmb ish 15*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: dmb ish 16