https://bugs.llvm.org/show_bug.cgi?id=42927

            Bug ID: 42927
           Summary: clang-9.0.0-rc1 lit test failures due to spurious
                    inreg added to function arguments
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: tstel...@redhat.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk
            Blocks: 42474

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]+]]
           ^
<stdin>:1:1: note: scanning from here
; ModuleID = '-'
^
<stdin>:12:10: note: possible intended match here
 %call = call signext i32 @isalnum(i32 inreg signext %0) #2


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=42474
[Bug 42474] [meta] 9.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to