[PATCH] [X86] A first stab at a heuristic to estimate the size impact for converting movs to pushes

Michael Kuperstein michael.m.kuperstein at intel.com
Wed Feb 11 08:56:10 PST 2015


Functions that do not take any parameters through the stack (or no parameters at all) should not count towards the heuristic.
Thanks to Roman Divacky for providing a test-case where this matters.


http://reviews.llvm.org/D7561

Files:
  lib/Target/X86/X86CallFrameOptimization.cpp
  test/CodeGen/X86/movtopush.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7561.19765.patch
Type: text/x-patch
Size: 10335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/5d97748c/attachment.bin>


More information about the llvm-commits mailing list