[PATCH] D106130: [PowerPC] Implemented mtmsr, mfspr, mtspr Builtins
Albion Fung via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 11:38:44 PDT 2021
Conanap added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:15586
+ case PPC::BI__builtin_ppc_mfspr: {
+ llvm::Type *RetType = CGM.getDataLayout().getTypeSizeInBits(VoidPtrTy) == 32
+ ? Int32Ty
----------------
nemanjai wrote:
> Is this the formatting that `clang-format` produces? Seems surprising it would format it that way.
I ran `git clang-format HEAD^` and it didn't change it, so seems like it was happy with this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106130/new/
https://reviews.llvm.org/D106130
More information about the llvm-commits
mailing list