From 38a684c0c92b84212edf5f9ed0ed2270d41fc914 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Mar 2008 02:51:40 +0000 Subject: [PATCH] Move pr717 to here. llvm-svn: 47803 --- lib/Target/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 69359dda864..80b00377ae7 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -691,3 +691,17 @@ instead of: ... //===---------------------------------------------------------------------===// + +http://llvm.org/PR717: + +The following code should compile into "ret int undef". Instead, LLVM +produces "ret int 0": + +int f() { + int x = 4; + int y; + if (x == 3) y = 0; + return y; +} + +//===---------------------------------------------------------------------===//