From 46a49da410a738a68ecbd2964f519251ba27fc66 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Fri, 15 Jan 2010 11:29:26 +0000 Subject: [PATCH] Test case for http://llvm.org/PR6028. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93511 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/2010-01-15-UndefValue.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/ExecutionEngine/2010-01-15-UndefValue.ll diff --git a/test/ExecutionEngine/2010-01-15-UndefValue.ll b/test/ExecutionEngine/2010-01-15-UndefValue.ll new file mode 100644 index 00000000000..7d646ebdeb9 --- /dev/null +++ b/test/ExecutionEngine/2010-01-15-UndefValue.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as %s -o %t.bc +; RUN: lli -force-interpreter=true %t.bc + +define i32 @main() { + %a = add i32 0, undef + %b = add float 0.0, undef + %c = add double 0.0, undef + ret i32 0 +} -- 2.34.1