Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.61 -> 1.62 --- Log message: Another entry. --- Diffs of the changes: (+16 -0) README.txt | 16 ++++++++++++++++ 1 files changed, 16 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.61 llvm/lib/Target/X86/README.txt:1.62 --- llvm/lib/Target/X86/README.txt:1.61 Sat Feb 25 04:04:07 2006 +++ llvm/lib/Target/X86/README.txt Tue Feb 28 17:38:49 2006 @@ -517,3 +517,19 @@ //===---------------------------------------------------------------------===// Enable X86InstrInfo::convertToThreeAddress(). + +//===---------------------------------------------------------------------===// + +Investigate whether it is better to codegen the following + + %tmp.1 = mul int %x, 9 +to + + movl 4(%esp), %eax + leal (%eax,%eax,8), %eax + +as opposed to what llc is currently generating: + + imull $9, 4(%esp), %eax + +Currently the load folding imull has a higher complexity than the LEA32 pattern. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits