[PATCH] D75825: [AssumeBundles] Preserve Information in the inliner

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 8 13:52:20 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/test/Transforms/Inline/arg-attr-propagation.ll:3
 ; RUN: opt -inline -S < %s | FileCheck %s
+; RUN: opt -inline -S --enable-knowledge-retention < %s | FileCheck %s --check-prefix=ASSUME
 
----------------
Call file check with `--check-prefixes=CHECK,NO_ASSUME` and `--check-prefixes=CHECK,USE_ASSUME`. When you rerun the update script (with --function-signatures!) it will fold the same output of both runs


================
Comment at: llvm/test/Transforms/Inline/noalias2.ll:3
 ; RUN: opt -inline -enable-noalias-to-md-conversion -S < %s | FileCheck %s
+; RUN: opt -inline -enable-noalias-to-md-conversion --enable-knowledge-retention -S < %s | FileCheck %s --check-prefix=ASSUME
+
----------------
Same as above.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75825





More information about the llvm-commits mailing list