Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git] / test / Analysis / ScalarEvolution / xor-and.ll
index 843052456a8006ffc306f7319693cab3a2fa5e9b..4ab2f39a2810af43cb8d1a9d6a490fd7039ad4f1 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | opt -scalar-evolution -disable-output -analyze \
-; RUN:   | grep {\\-->  (zext i4 (-8 + (trunc i64 (8 \\* %x) to i4)) to i64)}
+; RUN: opt < %s -scalar-evolution -analyze \
+; RUN:   | grep "\-->  (zext i4 (-8 + (trunc i64 (8 \* %x) to i4)) to i64)"
 
 ; ScalarEvolution shouldn't try to analyze %z into something like
 ;   -->  (zext i4 (-1 + (-1 * (trunc i64 (8 * %x) to i4))) to i64)