aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-01 01:44:25 +0000
committerChris Lattner <sabre@nondot.org>2006-02-01 01:44:25 +0000
commit3e1d5e5ea33edb504a8074e15e1122f1e1980476 (patch)
treef45e91e32c9cbb5a43d8cd54691956a645e194de
parenta55079a5ccdf0cdb4d482fb47a3fb21825f56713 (diff)
downloadexternal_llvm-3e1d5e5ea33edb504a8074e15e1122f1e1980476.zip
external_llvm-3e1d5e5ea33edb504a8074e15e1122f1e1980476.tar.gz
external_llvm-3e1d5e5ea33edb504a8074e15e1122f1e1980476.tar.bz2
Another regression from the pattern isel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25867 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 9e75f8e..90ed0a3 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -288,3 +288,19 @@ _test:
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.
+