projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make DataLayout Non-Optional in the Module
[oota-llvm.git]
/
test
/
Transforms
/
IndVarSimplify
/
signed-trip-count.ll
diff --git
a/test/Transforms/IndVarSimplify/signed-trip-count.ll
b/test/Transforms/IndVarSimplify/signed-trip-count.ll
index bbcc9c51141bb9e82222b3fa1aef787a9aa17679..992e22e2a969cadc0a472e9045390b6d783d24d3 100644
(file)
--- a/
test/Transforms/IndVarSimplify/signed-trip-count.ll
+++ b/
test/Transforms/IndVarSimplify/signed-trip-count.ll
@@
-2,6
+2,10
@@
; RUN: not grep sext %t
; RUN: grep phi %t | count 1
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
define void @foo(i64* nocapture %x, i32 %n) nounwind {
entry:
%tmp102 = icmp sgt i32 %n, 0 ; <i1> [#uses=1]