[PATCH] D153230: [FuncSpec][NFC] Improve the unittest coverage.

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 18 11:13:47 PDT 2023


labrinea created this revision.
labrinea added a reviewer: ChuanqiXu.
Herald added a subscriber: ormris.
Herald added a project: All.
labrinea requested review of this revision.
Herald added a project: LLVM.

The specialization bonus is zero in some unittests because the basic blocks
containing the users of the constant arguments are executed less frequently
than the entry block. Sinking them into loops solves that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153230

Files:
  llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153230.532483.patch
Type: text/x-patch
Size: 3987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230618/cb71f3c2/attachment.bin>


More information about the llvm-commits mailing list