[PATCH] D106909: [clang] Add clang builtins support for gfx90a

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 15:53:00 PDT 2021


gandhi21299 added inline comments.


================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:16270
+    llvm::Function *F = CGM.getIntrinsic(IID, {ArgTy});
+    return Builder.CreateCall(F, {Addr, Val, ZeroI32, ZeroI32, ZeroI1});
+  }
----------------
rampitec wrote:
> gandhi21299 wrote:
> > rampitec wrote:
> > > Should we map flags since we already have them?
> > Do you mean the memory order flag?
> All 3: ordering, scope and volatile.
Following the discussion, what change is required here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106909



More information about the llvm-commits mailing list