diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 3100b87005e..d92f9c99062 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -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. + +//===---------------------------------------------------------------------===// +