add a note

llvm-svn: 37239
This commit is contained in:
Chris Lattner 2007-05-18 20:18:14 +00:00
parent 91cc43a237
commit a7834d79a0

View File

@ -26,6 +26,15 @@ long long test(int X, int Y) { return (long long)X*Y; }
... which should only be one imul instruction.
or:
unsigned long long int t2(unsigned int a, unsigned int b) {
return (unsigned long long)a * b;
}
... which should be one mul instruction.
This can be done with a custom expander, but it would be nice to move this to
generic code.