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

Chris Lattner lattner at cs.uiuc.edu
Tue Jan 31 17:44:36 PST 2006



Changes in directory llvm/lib/Target/X86:

README.txt updated: 1.36 -> 1.37
---
Log message:

Another regression from the pattern isel


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

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


Index: llvm/lib/Target/X86/README.txt
diff -u llvm/lib/Target/X86/README.txt:1.36 llvm/lib/Target/X86/README.txt:1.37
--- llvm/lib/Target/X86/README.txt:1.36	Tue Jan 31 18:15:53 2006
+++ llvm/lib/Target/X86/README.txt	Tue Jan 31 19:44:25 2006
@@ -288,3 +288,19 @@
 
 This is bad for register pressure, though the dag isel is producing a 
 better schedule. :)
+
+//===---------------------------------------------------------------------===//
+
+This testcase should have no SSE instructions in it, and only one load from
+a constant pool:
+
+double %test3(bool %B) {
+        %C = select bool %B, double 123.412, double 523.01123123
+        ret double %C
+}
+
+Currently, the select is being lowered, which prevents the dag combiner from
+turning 'select (load CPI1), (load CPI2)' -> 'load (select CPI1, CPI2)'
+
+The pattern isel got this one right.
+






More information about the llvm-commits mailing list