-
Notifications
You must be signed in to change notification settings - Fork 57
A Hodge-Podge of Fixes and Features #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
/// | ||
/// - returns: A representation of the newly created inline assembly | ||
/// expression. | ||
public func buildInlineAssembly(_ asm: String, type: FunctionType, constraints: String = "", hasSideEffects: Bool = true, needsAlignedStack: Bool = true) -> IRValue { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a URL we can point to for more information? Or is this documentation already better than the existing LLVM doc...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This kind of is LLVM's docs on this. Paraphrased and updated a bit with references to external stuff.
LGTM! |
Use the derived ==. Providing our own causes a cyclic dependency on the ordering -> LLVM map which causes crashes on recursive initial accesses to the dictionary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
⛵️ |
threadLocalMode
tothreadLocalModel
- LLVM is wrong, not us.Switch
instructions to get the default block(Support for module-level ASM is tricky without a better C API)