[llvm-commits] CVS: llvm/lib/Target/README.txt
Chris Lattner
lattner at cs.uiuc.edu
Fri May 19 14:01:50 PDT 2006
Changes in directory llvm/lib/Target:
README.txt updated: 1.31 -> 1.32
---
Log message:
Add a note
---
Diffs of the changes: (+19 -0)
README.txt | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)
Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.31 llvm/lib/Target/README.txt:1.32
--- llvm/lib/Target/README.txt:1.31 Fri May 19 15:45:08 2006
+++ llvm/lib/Target/README.txt Fri May 19 16:01:38 2006
@@ -220,3 +220,22 @@
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17687
//===---------------------------------------------------------------------===//
+
+Scalar Repl cannot currently promote this testcase to 'ret long cst':
+
+ %struct.X = type { int, int }
+ %struct.Y = type { %struct.X }
+ulong %bar() {
+ %retval = alloca %struct.Y, align 8 ; <%struct.Y*> [#uses=3]
+ %tmp12 = getelementptr %struct.Y* %retval, int 0, uint 0, uint 0 ; <int*> [#uses=1]
+ store int 0, int* %tmp12
+ %tmp15 = getelementptr %struct.Y* %retval, int 0, uint 0, uint 1 ; <int*> [#uses=1]
+ store int 1, int* %tmp15
+ %retval = cast %struct.Y* %retval to ulong* ; <ulong*> [#uses=1]
+ %retval = load ulong* %retval ; <ulong> [#uses=1]
+ ret ulong %retval
+}
+
+it should be extended to do so.
+
+//===---------------------------------------------------------------------===//
More information about the llvm-commits
mailing list