From 213845367cb394237cbf10ccfba5a219bbec4781 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 5 Feb 2006 05:27:35 +0000 Subject: [PATCH] add a note git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25984 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/README.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 46c36cbfe6a..d51776f6232 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -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; +} +