aschwaighofer added a comment.
This looks good to me. Can you rebase your patch so that it applies on top of
github.com:apple/llvm-project.git main?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137512/new/
https://reviews.llvm.org/D137512
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf670c5aeeef0: Add a new frontend flag
`-fswift-async-fp={auto|always|never}` (authored by aschwaighofer).
Changed prior to commit:
aschwaighofer created this revision.
aschwaighofer added reviewers: doug.gregor, t.p.northover.
Herald added subscribers: ormris, dexonsmith, dang.
aschwaighofer requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
- `auto`: the default, which
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9eb99d2e73b5: CodeGen: No need to check for isExternC if
HasStrictReturn is already false (authored by aschwaighofer).
Repository:
rG LLVM Github
aschwaighofer created this revision.
aschwaighofer added a reviewer: rjmccall.
aschwaighofer requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
NFC intended.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D107841
Files:
aschwaighofer accepted this revision.
aschwaighofer added a comment.
This revision is now accepted and ready to land.
Looks good to me
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96802/new/
https://reviews.llvm.org/D96802
aschwaighofer accepted this revision.
aschwaighofer added a comment.
This revision is now accepted and ready to land.
LGTM
Thank you!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95814/new/
https://reviews.llvm.org/D95814
This revision was automatically updated to reflect the committed changes.
Closed by commit rG41634497d4fd: Teach the swift calling convention about
_Atomic types (authored by aschwaighofer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86218/new/
aschwaighofer updated this revision to Diff 287055.
aschwaighofer added a comment.
Respect atomic padding.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86218/new/
https://reviews.llvm.org/D86218
Files:
clang/lib/CodeGen/SwiftCallingConv.cpp
aschwaighofer updated this revision to Diff 286575.
aschwaighofer added a comment.
Try to sooth clang-tidy
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86218/new/
https://reviews.llvm.org/D86218
Files:
clang/lib/CodeGen/SwiftCallingConv.cpp
aschwaighofer created this revision.
aschwaighofer added a reviewer: rjmccall.
Herald added subscribers: cfe-commits, jfb.
Herald added a project: clang.
aschwaighofer requested review of this revision.
rdar://67351073
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86218
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a8120ca9fb9: Fix
ConstantAggregateBuilderBase::getRelativeOffset (authored by aschwaighofer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81857/new/
aschwaighofer created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
aschwaighofer added a reviewer: rjmccall.
If a record has a mix of relative pointers and other fields they
wouldn't necessarily be the same.
Fallout from D77592
This revision was automatically updated to reflect the committed changes.
Closed by commit rG153dadf3a3ca: [clang] CodeGen: Make getOrEmitProtocol public
for Swift (authored by aschwaighofer).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77077/new/
aschwaighofer marked an inline comment as done.
aschwaighofer added inline comments.
Comment at: clang/lib/CodeGen/CGObjCRuntime.h:217
+ /// ProtocolPtrTy.
+ virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD) = 0;
+
rjmccall wrote:
>
aschwaighofer updated this revision to Diff 254171.
aschwaighofer added a comment.
- Implement for the GNU runtimes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77077/new/
https://reviews.llvm.org/D77077
Files:
aschwaighofer marked an inline comment as done.
aschwaighofer added inline comments.
Comment at: clang/lib/CodeGen/CGObjCRuntime.h:217
+ /// ProtocolPtrTy.
+ virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD) = 0;
+
aschwaighofer wrote:
>
aschwaighofer marked an inline comment as done.
aschwaighofer added inline comments.
Comment at: clang/lib/CodeGen/CGObjCRuntime.h:217
+ /// ProtocolPtrTy.
+ virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD) = 0;
+
rjmccall wrote:
> Can
aschwaighofer marked an inline comment as done.
aschwaighofer added inline comments.
Comment at: clang/include/clang/CodeGen/CodeGenABITypes.h:148
+ llvm::function_ref
+ createProtocolReference);
} // end namespace CodeGen
aschwaighofer updated this revision to Diff 253938.
aschwaighofer added a comment.
- Remove callback. Swift can inspect the generated IR and update it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77077/new/
https://reviews.llvm.org/D77077
aschwaighofer updated this revision to Diff 253712.
aschwaighofer added a comment.
- Change API name to emitObjCProtocolObject.
- Make stuff compile on current ToT.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77077/new/
aschwaighofer marked an inline comment as done.
aschwaighofer added inline comments.
Comment at: clang/include/clang/CodeGen/CodeGenABITypes.h:148
+ llvm::function_ref
+ createProtocolReference);
} // end namespace CodeGen
aschwaighofer added a comment.
> Can you explain the need for the callback? Are you expecting to use this for
> Swift-declared protocols by synthesizing an ObjC protocol declaration for
> them? I can see why you'd need a callback in that case.
The objective C protocol references other
aschwaighofer created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Swift would like to use clang's abis to emit protocol declarations.
It needs to a hook to register when inherited protocols are emitted.
This commits adds the public API:
aschwaighofer accepted this revision.
aschwaighofer added a comment.
This revision is now accepted and ready to land.
Looks good.
Repository:
rC Clang
https://reviews.llvm.org/D46550
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
aschwaighofer updated this revision to Diff 103459.
aschwaighofer added a comment.
Same patch bug with added diff context.
https://reviews.llvm.org/D34454
Files:
lib/CodeGen/SwiftCallingConv.cpp
test/CodeGen/64bit-swiftcall.c
Index: test/CodeGen/64bit-swiftcall.c
aschwaighofer updated this revision to Diff 103458.
aschwaighofer retitled this revision from "SwiftAggregateLowering: Use type
alloc size to determine the size of types" to "SwiftCC: Perform physical layout
when computing coercion types".
aschwaighofer edited the summary of this revision.
aschwaighofer created this revision.
The layout must be compatible with the input layout, offsets are defined in
terms of offsets within a packed struct which are computed in terms of the alloc
size of a type.
Using the store size we would insert padding for the following type for example:
28 matches
Mail list logo