mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
add a note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131863 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c9b8d3d41
commit
87943e3698
@ -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.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
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.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user