summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commitb0a76b0981111e39ec5f898895e73afb71baded3 (patch)
tree07a7d7f7c2796b315d3acf6537cbcbbfafad1a29 /llvm/lib/Target
parent7ed3101d14cff81a445641d27f65e5032af6f2d3 (diff)
downloadbcm5719-llvm-b0a76b0981111e39ec5f898895e73afb71baded3.tar.gz
bcm5719-llvm-b0a76b0981111e39ec5f898895e73afb71baded3.zip
Another regression from the pattern isel
llvm-svn: 25867
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/README.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index 9e75f8ecc0e..90ed0a348d1 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/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.
+
OpenPOWER on IntegriCloud