Merging r259740:
[oota-llvm.git] / test / CodeGen / PowerPC / crbit-asm.ll
index 36de3435a0816dbbc578eadb480db37f2430ff91..41e65af29a8a1ce1d5b1e22c5322367c5ca40fc3 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc -mcpu=pwr7 < %s | FileCheck %s
+; RUN: llc -O1 -mcpu=pwr7 < %s | FileCheck %s
 target datalayout = "E-m:e-i64:64-n32:64"
 target triple = "powerpc64-unknown-linux-gnu"
 
@@ -55,5 +56,5 @@ entry:
 ; CHECK: blr
 }
 
-attributes #0 = { nounwind }
+attributes #0 = { nounwind "target-features"="+crbits" }