[llvm-commits] Patch to safely restore optimization to testcase from PR3225 on x86
eli.friedman at gmail.com
Tue Dec 16 21:40:28 PST 2008
A little while ago, I committed a patch for PR3225 which disables a
dangerous optimization for expanding double-width shifts (e.g. 64-bit
shifts on x86). This significantly pessimized the code generated on
x86 for the cases which the optimization covered.
The attached performs a similar optimization in x86 platform-specific
code, which significantly improves code quality for the cases it
covers; this version is safe because SHLD/SHRD do the right thing for
shifts with a zero amount.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-commits