[PATCH] D106891: [AMDGPU] [Remarks] Emit optimization remarks when an FP atomic instruction is converted into a CAS loop or unsafe hardware instruction for GFX90A

Anshil Gandhi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 08:47:51 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 @arsenm I don't quite remember if I have to do anything here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106891



More information about the cfe-commits mailing list