mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
add a note
llvm-svn: 26661
This commit is contained in:
parent
e6230f10c3
commit
c08825d684
@ -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