summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll b/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll
index 642d1ba205f..7272ef1ec13 100644
--- a/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll
@@ -1,5 +1,9 @@
; RUN: opt -S -indvars < %s | FileCheck %s
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
define void @test1(float* nocapture %autoc, float* nocapture %data, float %d, i32 %data_len, i32 %sample) nounwind {
entry:
%sub = sub i32 %data_len, %sample
OpenPOWER on IntegriCloud