mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68b67ff3db
commit
82c78b2f7e
@ -117,3 +117,13 @@ it needs to turn the shifts into multiplies to get it.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
These two functions should generate the same code on big-endian systems:
|
||||
|
||||
int g(int *j,int *l) { return memcmp(j,l,4); }
|
||||
int h(int *j, int *l) { return *j - *l; }
|
||||
|
||||
this could be done in SelectionDAGISel.cpp, along with other special cases,
|
||||
for 1,2,4,8 bytes.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user