summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
index 47164d86047..44c43a3a043 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
@@ -1,5 +1,9 @@
; RUN: opt < %s -indvars -S | FileCheck %s
; PR4086
+
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
declare void @foo()
define void @test() {
OpenPOWER on IntegriCloud