add a note.

llvm-svn: 131863
This commit is contained in:
Chris Lattner 2011-05-22 18:28:46 +00:00
parent 162dfc3e6b
commit bfe2c24c80
1 changed files with 10 additions and 0 deletions

View File

@ -2346,3 +2346,13 @@ Note that bb1 and bb2 are the same. This doesn't happen at the IR level
because one call is passing an i32 and the other is passing an i64. because one call is passing an i32 and the other is passing an i64.
//===---------------------------------------------------------------------===// //===---------------------------------------------------------------------===//
I see this sort of pattern in 176.gcc in a few places (e.g. the start of
store_bit_field). The rem should be replaced with a multiply and subtract:
%3 = sdiv i32 %A, %B
%4 = srem i32 %A, %B
Similarly for udiv/urem.
//===---------------------------------------------------------------------===//