[llvm] [SandboxVec][DAG] Build actual dependencies (PR #111094)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 08:14:33 PDT 2024
================
@@ -86,13 +88,20 @@ class DGNode {
(!(II = dyn_cast<IntrinsicInst>(I)) || isMemIntrinsic(II));
}
+ /// \Returns true if \p I is fence like. It excludes non-mem intrinsics.
+ static bool isFenceLike(Instruction *I) {
----------------
vporpo wrote:
I moved these functions here after introducing `sandboxir::IntrinsicInst`. These functions previously required accesss to LLVM IR, which was why they were in `Utils`.
https://github.com/llvm/llvm-project/pull/111094
More information about the llvm-commits
mailing list