[PATCH] D62766: [Attributor] Deduce "nosync" function attribute.

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 2 18:34:11 PDT 2019


sstefan1 added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:600
+    case Instruction::AtomicRMW:
+    case Instruction::Fence:
+      IsInterestingOpcode = true;
----------------
Just to make sure, when using `InformationCache::getReadOrWriteInstsForFunction` I don't need this, right?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62766





More information about the llvm-commits mailing list