[PATCH] D151994: [AMDGPU] Add amdgpu_cs_chain[_preserve] CCs to IR & verifier

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 01:39:41 PDT 2023


foad added a comment.

Please upload the patch with full context.



================
Comment at: llvm/lib/IR/Verifier.cpp:3292
+  // convention.
+  if (Callee) {
+    auto CC = Callee->getCallingConv();
----------------
Should check `Call.getCallingConv()`, instead of relying on whether or not we found a Callee function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151994



More information about the llvm-commits mailing list