Skip to content
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

compiler: remove support for memory references in AsmFull #2790

Merged
merged 2 commits into from
Apr 21, 2022

Commits on Apr 20, 2022

  1. mimxrt1062: simplify arm.AsmFull to arm.Asm

    This means fewer instances of arm.AsmFull, which I'd like to remove
    eventually if possible.
    aykevl committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    2f14eef View commit details
    Browse the repository at this point in the history
  2. compiler: remove support for memory references in AsmFull

    Memory references (`*m` in LLVM IR inline assembly) need a pointer type
    starting in LLVM 14. This is a bit inconvenient and requires a new API
    in the go-llvm package.
    
    Instead of doing that, I'd like to remove support for memory references
    from AsmFull (and possibly AsmFull entirely if possible: it's hard to
    use correctly).
    
    This breaks tinygo.org/x/drivers/ws2812 for AVR, ARM, and RISC-V which
    need to be updated. Probably using CGo.
    aykevl committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    7ac52da View commit details
    Browse the repository at this point in the history