add a note
authorChris Lattner <sabre@nondot.org>
Sun, 5 Feb 2006 05:27:35 +0000 (05:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Feb 2006 05:27:35 +0000 (05:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25984 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/README.txt

index 46c36cbfe6a0eca08ae0b9e384a592d7195edfc2..d51776f6232c07577a6093d393ff89bc39d885ec 100644 (file)
@@ -449,3 +449,14 @@ _foo:
         lbz r2, lo16(_a+3)(r2)
         stb r2, 0(r3)
         blr
+
+===-------------------------------------------------------------------------===
+
+We generate really bad code for this:
+
+int f(signed char *a, _Bool b, _Bool c) {
+   signed char t = 0;
+  if (b)  t = *a;
+  if (c)  *a = t;
+}
+