[AVX512] Enabling bit logic lowering
[oota-llvm.git] / test / CodeGen / X86 / 2009-03-25-TestBug.ll
index 06063851d13b2ee9d94cbcbb13a252f4e8511b5f..cc1d73da05c5afbeb2eba943c32c6a05f5a3e1a8 100644 (file)
@@ -1,12 +1,13 @@
-; RUN: llvm-as < %s | llc -o %t
-; RUN: not grep and %t
-; RUN: not grep shr %t
+; RUN: llc < %s -march=x86 | FileCheck %s
 ; rdar://6661955
 
+; CHECK-NOT: and
+; CHECK-NOT: shr
+
 @hello = internal constant [7 x i8] c"hello\0A\00"
 @world = internal constant [7 x i8] c"world\0A\00"
 
-define void @func(i32* %b) {
+define void @func(i32* %b) nounwind {
 bb1579.i.i:            ; preds = %bb1514.i.i, %bb191.i.i
        %tmp176 = load i32* %b, align 4
        %tmp177 = and i32 %tmp176, 2