Skip to content

Commit

Permalink
This has been implemented.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125738 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
CunningBaldrick committed Feb 17, 2011
1 parent a772433 commit fe167c5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/Target/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2225,16 +2225,6 @@ avoids partial register stalls in some important cases.

//===---------------------------------------------------------------------===//

We should fold compares like this:

%1266 = add nsw i32 %.84.i.i.i, 1
%560 = add nsw i32 %556, 1
%1267 = icmp slt i32 %1266, %560

to a single 'icmp slt' when the add's have a single use, since they are NSW.

//===---------------------------------------------------------------------===//

We don't fold (icmp (add) (add)) unless the two adds only have a single use.
There are a lot of cases that we're refusing to fold in (e.g.) 256.bzip2, for
example:
Expand Down

0 comments on commit fe167c5

Please sign in to comment.