[PATCH] D89574: [test][Inliner] Split inline-cost test files

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 11:19:18 PDT 2020


aeubanks created this revision.
aeubanks added reviewers: MaskRay, ychen, asbirlea.
Herald added subscribers: llvm-commits, nemanjai.
Herald added a project: LLVM.
aeubanks requested review of this revision.

The NPM CGSCCPassManager does not operate on the SCCs in the same order
as the legacy PM. These tests assume that the SCCs would be processed in
the order they are declared in the file, but the NPM processes them
backwards.

So split each test via split-file and test each one individually. This
makes these tests pass under the NPM.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89574

Files:
  llvm/test/Transforms/Inline/AArch64/ext.ll
  llvm/test/Transforms/Inline/AArch64/gep-cost.ll
  llvm/test/Transforms/Inline/AArch64/logical-and-or.ll
  llvm/test/Transforms/Inline/PowerPC/ext.ll
  llvm/test/Transforms/Inline/X86/ext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89574.298688.patch
Type: text/x-patch
Size: 14315 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201016/0bde7585/attachment.bin>


More information about the llvm-commits mailing list