[PATCH] D134013: [lld][thinlto] Include -mllvm options in the thinlto cache key
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 13:02:11 PDT 2022
MaskRay added inline comments.
================
Comment at: lld/test/ELF/lto/cache.ll:65
+;; Changing order may matter - e.g. if overriding -mllvm options - so we get 2 more entries
+; RUN: ld.lld --thinlto-cache-dir=%t.cache -o %t3 %t2.o %t.o -mllvm -max-devirt-iterations=1 -mllvm -enable-ml-inliner=default
+; RUN: ls %t.cache | count 9
----------------
Perhaps change on test to use `-plugin-opt=-max-...` for some variance.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134013/new/
https://reviews.llvm.org/D134013
More information about the llvm-commits
mailing list