aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-13 01:20:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-13 01:20:42 +0000
commite08c270623599861b7269f8dad533abe7e57771f (patch)
tree6a74371219d63fd37a316c77a96b1f6d01f0187d
parentfcf39d4589210f3cad03324fbb0b0b29e26c3cf8 (diff)
downloadexternal_llvm-e08c270623599861b7269f8dad533abe7e57771f.zip
external_llvm-e08c270623599861b7269f8dad533abe7e57771f.tar.gz
external_llvm-e08c270623599861b7269f8dad533abe7e57771f.tar.bz2
Minor update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index a08e8fd..4869c5e 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -112,3 +112,12 @@ FP_TO_SINT when the source operand is already in memory.
//===---------------------------------------------------------------------===//
Check if load folding would add a cycle in the dag.
+
+//===---------------------------------------------------------------------===//
+
+Model X86 EFLAGS as a real register to avoid redudant cmp / test. e.g.
+
+ cmpl $1, %eax
+ setg %al
+ testb %al, %al # unnecessary
+ jne .BB7