You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish executable MSVC x64 C ABI interoperability in both call directions #615
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.multi-os testingIssues related to testing Wave on multiple operating systems.needs testingIssues that require additional testing or verification.
Part of #611. Difficulty: very high. Audit baseline: master 3950416e (2026-09-12).
Current evidence
llvm/src/codegen/abi_c.rs has Windows x64 classifiers; MSVC entries already appear in narrow-integer and aggregate IR regressions in tests/codegen_regressions.rs. The basic MSVC foundation test explicitly checks PE construction rather than native execution.
Scope
Build native x64 Wave/clang-cl peer fixtures that exercise caller and callee behavior across the C boundary. Cover register exhaustion, shadow space, mixed integer/floating-point parameters, narrow signed/unsigned values, aggregate size/alignment boundaries and indirect returns, and supported variadic calls. Fix evidenced ABI lowering defects while retaining the existing working classifiers.
Completion criteria
Run independent-value checks in both directions on native Windows x64 at unoptimized and optimized settings, including nested calls and preserved-register pressure. Retain the C source, Wave source and compiler/link commands on failure. Required CI must fail if the peer toolchain or execution is unavailable; an IR comparison alone cannot satisfy this issue. No C++ ABI or new Wave syntax is included.
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.multi-os testingIssues related to testing Wave on multiple operating systems.needs testingIssues that require additional testing or verification.
Activity
fix(msvc): validate native Windows runtime and C ABI (#668)