[PATCH] D67281: [AArch64][SimplifyCFG] Add additional cost for instructions in mergeConditionalStoreToAddress

Pavel Kosov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 10:06:09 PDT 2019


kpdev42 updated this revision to Diff 219564.
kpdev42 added a comment.

Rework patch. Allow merge store but bring additional check to `FoldTwoEntryPHINode`: before hoisting all instructions from IfBlock0 and IfBlock1 to DomBlock we check number of instructions in this DomBlock.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67281/new/

https://reviews.llvm.org/D67281

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/AArch64/check-instr-cost-for-folding.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67281.219564.patch
Type: text/x-patch
Size: 4235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190910/30bac71e/attachment.bin>


More information about the llvm-commits mailing list