[llvm-bugs] [Bug 42927] New: clang-9.0.0-rc1 lit test failures due to spurious inreg added to function arguments

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 7 21:22:21 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: tstellar at redhat.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190808/39f9c482/attachment.html>


More information about the llvm-bugs mailing list