aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-20 07:44:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-20 07:44:53 +0000
commit0d23bc4666b413a40d59e00b843d266fcc3ea336 (patch)
treeac5b7d639cf5fca8fc8639ed44c62265201a0681
parent6b2e254437589d705c704d1f4b7643443dc16a6b (diff)
A new entry
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28419 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 34055ddafb..2b7989bbe0 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -577,3 +577,13 @@ nicer, while still handling the hard cases.
//===---------------------------------------------------------------------===//
+Some ideas for instruction selection code simplification: 1. A pre-pass to
+determine which chain producing node can or cannot be folded. The generated
+isel code would then use the information. 2. The same pre-pass can force
+ordering of TokenFactor operands to allow load / store folding. 3. During isel,
+instead of recursively going up the chain operand chain, mark the chain operand
+as available and put it in some work list. Select other nodes in the normal
+manner. The chain operands are selected after all other nodes are selected. Uses
+of chain nodes are modified after instruction selection is completed.
+
+