diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/X86/README.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt index c9f23d598be..57aec86d2e5 100644 --- a/llvm/lib/Target/X86/README.txt +++ b/llvm/lib/Target/X86/README.txt @@ -12,6 +12,12 @@ long long test(long long X, long long Y) { return X*Y; } by using the EAX result from the mul. We should add a similar node for DIVREM. +another case is: + +long long test(int X, int Y) { return (long long)X*Y; } + +... which should only be one imul instruction. + //===---------------------------------------------------------------------===// This should be one DIV/IDIV instruction, not a libcall: |

