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
/
lftr-extend-const.ll
diff --git
a/test/Transforms/IndVarSimplify/lftr-extend-const.ll
b/test/Transforms/IndVarSimplify/lftr-extend-const.ll
index f12c68cacb661acd0e2309dbfa94cd3f2555711e..fa3166d4a3e2c61db0ae5cf3c6327a20bfe31076 100644
(file)
--- a/
test/Transforms/IndVarSimplify/lftr-extend-const.ll
+++ b/
test/Transforms/IndVarSimplify/lftr-extend-const.ll
@@
-1,5
+1,9
@@
;RUN: opt -S %s -indvars | FileCheck %s
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
; CHECK-LABEL: @foo(
; CHECK-NOT: %lftr.wideiv = trunc i32 %indvars.iv.next to i16
; CHECK: %exitcond = icmp ne i32 %indvars.iv.next, 512