OSDN Git Service

Move pr717 to here.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Mar 2008 02:51:40 +0000 (02:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Mar 2008 02:51:40 +0000 (02:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47803 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 69359dd..80b0037 100644 (file)
@@ -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;
+}
+
+//===---------------------------------------------------------------------===//