add a note
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 20:13:21 +0000 (20:13 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 20:13:21 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26661 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 3100b87005e97b104b9a24b3a1abc47dcaccf26c..d92f9c990623f251b13964070690f9ce77bdecbc 100644 (file)
@@ -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.
+
+//===---------------------------------------------------------------------===//
+