[PATCH] D75010: [OpenMP] Adding InaccessibleMemOnly and InaccessibleMemOrArgMemOnly for runtime calls.

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 23:19:39 PDT 2020


jdoerfert added a comment.

I always thought there was a test for this, turns out I never committed it.
Since I did now (1c9c23d60ea7656174ad3d76293c2a90dd25e24f <https://reviews.llvm.org/rG1c9c23d60ea7656174ad3d76293c2a90dd25e24f>) you need to rebase and adjust it, sorry.



================
Comment at: llvm/test/Transforms/OpenMP/parallel_deletion.ll:3
-; RUN: opt -S -attributor -openmpopt -attributor-disable=false < %s | FileCheck %s
-; RUN: opt -S -passes='attributor,cgscc(openmpopt)' -attributor-disable=false < %s | FileCheck %s
 ;
----------------
this test was created with `utils/update_test_checks.py --function-signatures` before the script was smart enough to encode that into the file directly. Can you rerun with the option please.


================
Comment at: llvm/test/Transforms/OpenMP/parallel_deletion.ll:204
 declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture)
 
+; CHECK: Function Attrs: inaccessiblememonly nofree nosync nounwind readonly
----------------
Use `UTC_ARGS: -disable` here and `-enable` below to keep the check lines even when the update script is run :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75010





More information about the cfe-commits mailing list