add compilable testcase
authorChris Lattner <sabre@nondot.org>
Mon, 11 Sep 2006 22:57:51 +0000 (22:57 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Sep 2006 22:57:51 +0000 (22:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30268 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index fdfc9fb026969648a556c6c2ebad11d867a93526..98b58539f5a9217f28172f9288ba6cac2e9deb38 100644 (file)
@@ -581,7 +581,12 @@ boundary to improve performance.
 
 Codegen:
 
-if ((variable == 4) || (variable == 6)) { stuff }
+int f(int a, int b) {
+  if (a == 4 || a == 6)
+    b++;
+  return b;
+}
+
 
 as: