projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
test
/
Analysis
/
ScalarEvolution
/
and-xor.ll
diff --git
a/test/Analysis/ScalarEvolution/and-xor.ll
b/test/Analysis/ScalarEvolution/and-xor.ll
index 767194c8bd9a5ddbf4e6dc25989fb02e7222a5f8..06f4a8582fa19a07fccfd12dab0c523979f6fa97 100644
(file)
--- a/
test/Analysis/ScalarEvolution/and-xor.ll
+++ b/
test/Analysis/ScalarEvolution/and-xor.ll
@@
-1,5
+1,5
@@
-; RUN: opt
%s -scalar-evolution -analyze -disable-output
\
-; RUN: | grep
{\\--> (zext}
| count 2
+; RUN: opt
< %s -scalar-evolution -analyze
\
+; RUN: | grep
"\--> (zext"
| count 2
define i32 @foo(i32 %x) {
%n = and i32 %x, 255