[PATCH] D108367: [NFC] computeSPIRKernelABIInfo(): use SPIRABInfo

Henry Linjamäki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 19 05:16:16 PDT 2021


linjamaki created this revision.
linjamaki requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Make computeSPIRKernelABIInfo() to use SPIRABIInfo instead of
DefaultABIInfo.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108367

Files:
  clang/lib/CodeGen/TargetInfo.cpp


Index: clang/lib/CodeGen/TargetInfo.cpp
===================================================================
--- clang/lib/CodeGen/TargetInfo.cpp
+++ clang/lib/CodeGen/TargetInfo.cpp
@@ -10214,7 +10214,7 @@
 namespace clang {
 namespace CodeGen {
 void computeSPIRKernelABIInfo(CodeGenModule &CGM, CGFunctionInfo &FI) {
-  DefaultABIInfo SPIRABI(CGM.getTypes());
+  SPIRABIInfo SPIRABI(CGM.getTypes());
   SPIRABI.computeInfo(FI);
 }
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108367.367463.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210819/f72b8975/attachment.bin>


More information about the cfe-commits mailing list