mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
item done
llvm-svn: 30483
This commit is contained in:
parent
2d2d80a4c2
commit
2b076f26b7
@ -63,17 +63,6 @@ which will be removed once the proper fix is made.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
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
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
On targets with expensive 64-bit multiply, we could LSR this:
|
||||
|
||||
for (i = ...; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user