Skip to content

clang-9.0.0-rc1 lit test failures due to spurious inreg added to function arguments #42272

@tstellar

Description

@tstellar
Bugzilla Link 42927
Resolution DUPLICATE
Resolved on Aug 14, 2019 19:58
Version 9.0
OS Linux
Blocks #41819
CC @zygoloid

Extended Description

I'm seeing a lot of lit test failures in the 9.0.1-rc1 release that look like the one below. The test are failing because function arguments have the inreg when the test wasn't expecting it. I think this may have something to do with building with CLANG_LINK_CLANG_DYLIB=ON, but I'm still investigating this.

******************** TEST 'Clang :: Sema/libbuiltins-ctype-powerpc64.c' FAILED ********************
Script:

: 'RUN: at line 1'; /builddir/build/BUILD/cfe-9.0.0rc1.src/_build/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/cfe-9.0.0rc1.src/_build/lib64/clang/9.0.0/include -nostdsysteminc -triple powerpc64-unknown-linux-gnu -emit-llvm < /builddir/build/BUILD/cfe-9.0.0rc1.src/test/Sema/libbuiltins-ctype-powerpc64.c | /usr/bin/FileCheck /builddir/build/BUILD/cfe-9.0.0rc1.src/test/Sema/libbuiltins-ctype-powerpc64.c

Exit Code: 1

Command Output (stderr):

/builddir/build/BUILD/cfe-9.0.0rc1.src/test/Sema/libbuiltins-ctype-powerpc64.c:19:12: error: CHECK: expected string not found in input
// CHECK: call signext i32 @​isalnum(i32 signext {{%[0-9]+}}) [[NUW_RO_CALL:#[0-9]+]]
^
:1:1: note: scanning from here
; ModuleID = '-'
^
:12:10: note: possible intended match here
%call = call signext i32 @​isalnum(i32 inreg signext %0) #​2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclangClang issues not falling into any other categoryduplicateResolved as duplicate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions