diff options
| author | Alexander Shaposhnikov <ashaposhnikov@google.com> | 2022-11-18 04:26:08 +0000 |
|---|---|---|
| committer | Alexander Shaposhnikov <ashaposhnikov@google.com> | 2022-11-18 05:04:07 +0000 |
| commit | 34ab474348e2623cc67abddb7bb662385297ac65 (patch) | |
| tree | 5bb2ce3be5bd9f18050ba71191babedbc525c24c /llvm/test/Bitcode/thinlto-function-summary.ll | |
| parent | ab9eac762c35068e77f57795e660d06f578c9614 (diff) | |
[opt][clang] Enable using -module-summary/-flto=thin with -S/-emit-llvm
Enable using -module-summary with -S
(similarly to what currently can be achieved with opt <input> -o - | llvm-dis).
This is a recommit of ef9e62469.
Test plan: ninja check-all
Differential revision: https://reviews.llvm.org/D137768
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
| -rw-r--r-- | llvm/test/Bitcode/thinlto-function-summary.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/thinlto-function-summary.ll b/llvm/test/Bitcode/thinlto-function-summary.ll index ad745dd826ac..68636ed192a1 100644 --- a/llvm/test/Bitcode/thinlto-function-summary.ll +++ b/llvm/test/Bitcode/thinlto-function-summary.ll @@ -31,6 +31,8 @@ ; RUN: opt -passes=name-anon-globals -module-summary < %s | llvm-dis | FileCheck %s +; RUN: opt -passes=name-anon-globals -module-summary -S < %s | FileCheck %s +; RUN: opt -passes=name-anon-globals -module-summary -S < %s | llvm-as | llvm-dis | FileCheck %s ; Check that this round-trips correctly. ; ModuleID = '<stdin>' |
