[llvm-bugs] [Bug 44455] New: Updating ppc-emmintrin.c test using update_cc_test_checks.py causes test to fail

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 3 14:28:10 PST 2020


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

            Bug ID: 44455
           Summary: Updating ppc-emmintrin.c test using
                    update_cc_test_checks.py causes test to fail
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: colin.samples at gmail.com
                CC: craig.topper at gmail.com, fwage73 at gmail.com,
                    llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com,
                    richard-llvm at metafoo.co.uk
            Blocks: 44276

Created attachment 22980
  --> https://bugs.llvm.org/attachment.cgi?id=22980&action=edit
log of running update_cc_test_checks.py

While working on updating tests for a patch for bug #44276, running
`llvm/utils/update_cc_test_checks.py` to update the
`clang/test/CodeGen/ppc-emmintrin.c` produced a test that failed.

Updating this test on master (without any patches) caused the same issue. The
the other `ppc-*mmintrin.c` tests passed, but significantly altered the test
checks.

See attached for a log of running:

    $ PATH="$HOME/devel/llvm-builds/master-clang-assert/bin:$PATH" \
      ./llvm/utils/update_cc_test_checks.py -v \
      --llvm-bin=$HOME/devel/llvm-builds/master-clang-assert/bin \
      clang/test/CodeGen/ppc-xmmintrin.c

Also attached are:

    a) a shorter log of the command without the `-v` flag, which has some
       warnings that are kind of obscured in the verbose log. Updating other
       `ppc-*mmintrin.c` tests displays similar warnings.
    b) output of `ninja check-clang`
    c) the updated `ppc-emmintrin.c`
    d) a diff of the update to `ppc-emmintrin.c`
    e) a diff of the updates to all of `ppc-*mmintrin.c`


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=44276
[Bug 44276] [PowerPC] vec_splats cannot be used to initialize variables with
static storage duration
-- 
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/20200103/00f78316/attachment.html>


More information about the llvm-bugs mailing list