projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add x86 isel logic and patterns to match movlps from clang generated IR for _mm_loadl...
[oota-llvm.git]
/
test
/
Analysis
/
ScalarEvolution
/
xor-and.ll
diff --git
a/test/Analysis/ScalarEvolution/xor-and.ll
b/test/Analysis/ScalarEvolution/xor-and.ll
index 9b02bb803ff58a01cd23dd4938d6864fb301aa1e..c0530bbc3cc01e2f40ba0b1780ecff1b1f27e856 100644
(file)
--- a/
test/Analysis/ScalarEvolution/xor-and.ll
+++ b/
test/Analysis/ScalarEvolution/xor-and.ll
@@
-1,6
+1,7
@@
-; RUN: llvm-as < %s | opt -scalar-evolution -disable-output -analyze | grep {\\--> %z}
+; 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 %
s
into something like
+; ScalarEvolution shouldn't try to analyze %
z
into something like
; --> (zext i4 (-1 + (-1 * (trunc i64 (8 * %x) to i4))) to i64)
define i64 @foo(i64 %x) {
; --> (zext i4 (-1 + (-1 * (trunc i64 (8 * %x) to i4))) to i64)
define i64 @foo(i64 %x) {