[PATCH] D71730: Make lazyload_metadata.ll resilient to the addition of new metadata kinds

David Herzka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 17:45:14 PST 2019


herzka marked an inline comment as done.
herzka added inline comments.


================
Comment at: llvm/test/ThinLTO/X86/lazyload_metadata.ll:14
+; RUN:       | awk '{print "NOTLAZY: " $0}') \
+; RUN: | FileCheck %s
+
----------------
mehdi_amini wrote:
> Never saw this syntax with `cat` and the two redirections before. Is this equivalent to the following?
> ```
> ; RUN: (llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t3.bc -stats 2>&1  | awk '{print "LAZY: " $0}' \
>              && llvm-lto -thinlto-action=import %t2.bc -thinlto-index=%t3.bc -stats -disable-ondemand-mds-loading 2>&1  awk '{print "NOTLAZY: " $0}')
> ; RUN:       | FileCheck %s
> ```
Oops, yep. That's a lot nicer, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71730/new/

https://reviews.llvm.org/D71730





More information about the llvm-commits mailing list