[PATCH] D121445: [Clang][CSKY] Add the CSKY target and compiler driver
    Zixuan Wu via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Sun Mar 13 19:37:02 PDT 2022
    
    
  
zixuan-wu added inline comments.
================
Comment at: clang/lib/Basic/Targets/CSKY.cpp:43
+  Builder.defineMacro("__CSKYABI__", ABI == "abiv2" ? "2" : "1");
+  Builder.defineMacro("__cskyabi__", ABI == "abiv2" ? "2" : "1");
+
----------------
DavidSpickett wrote:
> Any need to handle when ABI is not avbiv2 or abiv1 or will it always be one of the two?
Yes. It always be one of the two.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121445/new/
https://reviews.llvm.org/D121445
    
    
More information about the cfe-commits
mailing list