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

Implement constant-folding for VNF_BitCast #68979

Merged
merged 3 commits into from
May 15, 2022

Commits on May 13, 2022

  1. Outline the logic for legality of folding

    No diffs.
    SingleAccretion committed May 13, 2022
    Configuration menu
    Copy the full SHA
    0f3c0c4 View commit details
    Browse the repository at this point in the history
  2. Implement constant folding for BitCast

    A few small diffs in tests where we now form new constants
    for "long/int <-> double/float>" reinterpretations.
    
    Completes the support for "VNF_BitCast" and removes the SIMD
    quirk from "VNForLoadStoreBitCast".
    SingleAccretion committed May 13, 2022
    Configuration menu
    Copy the full SHA
    ed4d088 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2022

  1. Avoid UB with unions

    Only usage of "active" union members is well-defined in C++.
    SingleAccretion committed May 14, 2022
    Configuration menu
    Copy the full SHA
    0f63912 View commit details
    Browse the repository at this point in the history