[PATCH] D62424: Tests for nosync function attribute.

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 27 15:53:28 PDT 2019


jdoerfert added inline comments.


================
Comment at: llvm/test/Transforms/FunctionAttrs/nosync.ll:75
+; CHECK-NEXT: define i32 @load_acquire(i32* nocapture readonly)
+; CHECK-NOT: nosync
+define i32 @bar(i32* nocapture readonly) norecurse nounwind uwtable {
----------------
This is my bad but I think the combination of my prior to requests will not work.

Could you see if
```
; CHECK: Function Attrs: norecurse nounwind uwtable
; CHECK-NOT: nosync
; CHECK-NEXT: define i32 @load_acquire(i32* nocapture readonly)
```
works and if not remove the NEXT part. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62424





More information about the llvm-commits mailing list