aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/pr21651.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/pr21651.ll')
-rw-r--r--test/Transforms/InstCombine/pr21651.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/pr21651.ll b/test/Transforms/InstCombine/pr21651.ll
index 914785f..d2b8d31 100644
--- a/test/Transforms/InstCombine/pr21651.ll
+++ b/test/Transforms/InstCombine/pr21651.ll
@@ -1,5 +1,9 @@
; RUN: opt < %s -instcombine -S | FileCheck %s
+; Provide legal integer types.
+target datalayout = "n8:16:32:64"
+
+
define void @PR21651() {
switch i2 0, label %out [
i2 0, label %out