[PATCH] D153196: [clang] Replace uses of CGBuilderTy::CreateElementBitCast (NFC)
Sergei Barannikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 17 13:05:05 PDT 2023
barannikov88 accepted this revision.
barannikov88 added a comment.
This needs to be rebased, there will be conflicts with 992cb984 <https://reviews.llvm.org/rG992cb98462abb7630e87003516b75b241628f64c>.
================
Comment at: clang/lib/CodeGen/CGBlocks.cpp:1264
- addr = Builder.CreateElementBitCast(addr, byrefInfo.Type, "byref.addr");
+ addr = addr.withElementType(byrefInfo.Type);
----------------
Can this be merged with the previous line?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153196/new/
https://reviews.llvm.org/D153196
More information about the cfe-commits
mailing list