[PATCH] D21449: Target independent codesize heuristics for Loop Idiom Recognition

Sunita_Marathe via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 16:28:20 PDT 2016


Sunita_Marathe removed rL LLVM as the repository for this revision.
Sunita_Marathe updated this revision to Diff 62297.
Sunita_Marathe added a comment.
Herald added a subscriber: mzolotukhin.

Hi Chad,

This diff is a pared down version of the original target independent code size heuristics, to comply with your request to submit incremental changes per the community's preference.

This first change set  avoids LIR for loops with multiple BBs.

Only one of the SPEC2000 benchmarks, 176.gcc, shows a small code size reduction of 39 bytes  resulting from avoiding recognition of a single memset idiom in function find_reloads.
The before/after function size is 12354/12315 bytes.

Thanks
Sunita


http://reviews.llvm.org/D21449

Files:
  lib/Transforms/Scalar/LoopIdiomRecognize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21449.62297.patch
Type: text/x-patch
Size: 4646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160629/8136dfc0/attachment.bin>


More information about the llvm-commits mailing list