OSDN Git Service

add a note with a testcase
authorChris Lattner <sabre@nondot.org>
Sun, 19 Mar 2006 22:27:41 +0000 (22:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Mar 2006 22:27:41 +0000 (22:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26877 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index ac162c2..429d159 100644 (file)
@@ -633,3 +633,14 @@ dependent LICM pass or 2) makeing SelectDAG represent the whole function.
 The following tests perform worse with LSR:
 
 lambda, siod, optimizer-eval, ackermann, hash2, nestedloop, strcat, and Treesor.
+
+//===---------------------------------------------------------------------===//
+
+Should generate min/max for stuff like:
+
+void minf(float a, float b, float *X) {
+  *X = a <= b ? a : b;
+}
+
+//===---------------------------------------------------------------------===//
+