[llvm-commits] CVS: llvm/lib/Target/README.txt

Chris Lattner lattner at cs.uiuc.edu
Thu Mar 9 12:13:32 PST 2006



Changes in directory llvm/lib/Target:

README.txt updated: 1.14 -> 1.15
---
Log message:

add a note


---
Diffs of the changes:  (+10 -0)

 README.txt |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.14 llvm/lib/Target/README.txt:1.15
--- llvm/lib/Target/README.txt:1.14	Mon Mar  6 20:46:26 2006
+++ llvm/lib/Target/README.txt	Thu Mar  9 14:13:21 2006
@@ -117,3 +117,13 @@
 
 //===---------------------------------------------------------------------===//
 
+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.
+
+//===---------------------------------------------------------------------===//
+






More information about the llvm-commits mailing list