[PATCH] D153314: [clang] Replace uses of CGBuilderTy::CreateElementBitCast (NFC)
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 27 01:00:57 PDT 2023
nikic added inline comments.
================
Comment at: clang/lib/CodeGen/Targets/AArch64.cpp:522-523
auto *Load = CGF.Builder.CreateLoad(VAListAddr);
Address Addr = Address(Load, CGF.Int8Ty, SlotSize);
- return CGF.Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(Ty));
+ return Addr.withElementType(CGF.ConvertTypeForMem(Ty));
}
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153314/new/
https://reviews.llvm.org/D153314
More information about the cfe-commits
mailing list