[PATCH] D66098: [CostModel] Model all `extractvalue`s as free.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 11:04:29 PDT 2019


lebedev.ri created this revision.
lebedev.ri added reviewers: craig.topper, RKSimon, jnspaulsson, greened.
lebedev.ri added a project: LLVM.
Herald added subscribers: hiraditya, javed.absar.

As disscussed in https://reviews.llvm.org/D65148#1606412,
`extractvalue` don't actually generate any code,
so we should treat them as free.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D66098

Files:
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/aggregates.ll
  llvm/test/Analysis/CostModel/X86/aggregates.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66098.214667.patch
Type: text/x-patch
Size: 20743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190812/4794bfd2/attachment.bin>


More information about the llvm-commits mailing list