[Target/ARM] Only enable OptimizeBarrierPass at -O1 and above.
[oota-llvm.git] / test / CodeGen / ARM / optimize-dmbs-v7.ll
index 64f5e202d36af4008bcebfcd4e70c915438029e1..34a55aa718a3c72d4b7d3963f30327294725fff6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=armv7 -mattr=+db | FileCheck %s
+; RUN: llc -O1 < %s -mtriple=armv7 -mattr=+db | FileCheck %s
 
 @x1 = global i32 0, align 4
 @x2 = global i32 0, align 4
 
 @x1 = global i32 0, align 4
 @x2 = global i32 0, align 4