[Inline] Add a basic test for the module inliner
authorKazu Hirata <kazu@google.com>
Fri, 2 Dec 2022 21:37:57 +0000 (13:37 -0800)
committerKazu Hirata <kazu@google.com>
Fri, 2 Dec 2022 21:37:57 +0000 (13:37 -0800)
commit0417b9d63735f70fa9c7fe35ba052665994bd546
treee86201cd4ba6d49c43e4e41b9b50c0334150a78d
parentb74192b7ae0781200be7df40e673d4f918b32587
[Inline] Add a basic test for the module inliner

The new test ensures that the module inliner works with all currently
supported priority modes.

Different priority modes result in no difference in terms of the
output for these simple cases, so this is more of a "better than
nothing" test.

Differential Revision: https://reviews.llvm.org/D139222
llvm/test/Transforms/Inline/module-inliner-basic.ll [new file with mode: 0644]