diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-21 18:29:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-21 18:29:44 +0000 |
commit | a1532bc283a1aeddf42b5145e6e7f131dbad6032 (patch) | |
tree | 9b217770c9180c9f92208e93359bcef48507ec6c | |
parent | 2deb87f201b5cf06edff12b9d9a03adc658ec416 (diff) |
missed optzn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26299 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index a92ff28cc5..4affd7c084 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -68,3 +68,14 @@ int %test(int %A) { This sort of thing occurs in the alloca lowering code and other places that are generating alignment of an already aligned value. +//===---------------------------------------------------------------------===// + +Turn this into a signed shift right in instcombine: + +int f(unsigned x) { + return x >> 31 ? -1 : 0; +} + +http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25600 +http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01492.html + |