diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-09 20:13:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-09 20:13:21 +0000 |
commit | f136299635ca93e303a307b949740e2358121c85 (patch) | |
tree | 2661c0222ead553fc89a10ca3c3384bf1557cf4e /llvm/lib/Target | |
parent | 9f5768147429bc62ae6262fc8443c3a7680ba32c (diff) | |
download | bcm5719-llvm-f136299635ca93e303a307b949740e2358121c85.tar.gz bcm5719-llvm-f136299635ca93e303a307b949740e2358121c85.zip |
add a note
llvm-svn: 26661
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/README.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index 3100b87005e..d92f9c99062 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/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. + +//===---------------------------------------------------------------------===// + |