[PATCH] D19950: Use frequency info to guide Loop Invariant Code Motion.
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 18:24:35 PDT 2016
danielcdh created this revision.
danielcdh added reviewers: hfinkel, davidxl, majnemer.
danielcdh added a subscriber: llvm-commits.
Herald added a subscriber: aemerson.
If an instruction's frequency is smaller than preheader, it will harm performance to hoist the instruction to the preheader.
http://reviews.llvm.org/D19950
Files:
include/llvm/Transforms/Utils/LoopUtils.h
lib/Transforms/Scalar/LICM.cpp
test/Other/pass-pipelines.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19950.56229.patch
Type: text/x-patch
Size: 5627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/5a419935/attachment.bin>
More information about the llvm-commits
mailing list