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

test/c-variadic: Fix patterns on powerpc64 #64256

Merged
merged 1 commit into from
Sep 10, 2019

Commits on Sep 10, 2019

  1. test/c-variadic: Fix patterns on powerpc64

    On architectures such as powerpc64 that use extend_integer_width_to in
    their C ABI processing, integer parameters shorter than the native
    register width will be annotated with the ArgAttribute::SExt or
    ArgAttribute::ZExt attribute, and that attribute will be included in the
    generated LLVM IR.
    
    In this test, all relevant parameters are `i32`, which will get the
    `signext` annotation on the relevant 64-bit architectures. Match both
    the annotated and non-annotated case, but enforce that the annotation is
    applied consistently.
    smaeul committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    2f6e73c View commit details
    Browse the repository at this point in the history