FailedChanges

Summary

  1. [lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values Summary: Various tests in the `lit` testing suite expect specific return codes and forms of diagnostic message from utility programs. As per POSIX.1-2017 XCU Section 1.4, Utility Description Defaults, "[the] format of diagnostic messages for most utilities is unspecified". The STDERR subsections of the `cat` and `wc` utilities merely indicate that "[the] standard error shall be used only for diagnostic messages". The corresponding EXIT STATUS subsections merely indicate, with regard to errors, an exit value of >0. The affected tests are updated to accept the applicable diagnostic message as produced by the utilities on AIX. The exit value is normalized using `not` as necessary. Reviewers: xingxue, sfertile, jasonliu Reviewed By: xingxue Subscribers: delcypher, jsji, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60553
  2. [tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples Summary: Triple components in `XFAIL` lines are tested against the target triple. Various tests that are expected to fail on big-endian hosts are marked as being `XFAIL` for big-endian targets. This patch corrects these tests by having them test against a new `host-byteorder-big-endian` feature. Reviewers: xingxue, sfertile, jasonliu Reviewed By: xingxue Subscribers: jvesely, nhaehnle, fedor.sergeev, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60551
  3. [llvm-ar][llvm-nm][llvm-size] Change -long-option to --long-option in tests. NFC
  4. [X86][SSE] Add demanded elts support X86ISD::PMULDQ\PMULUDQ Add to SimplifyDemandedVectorEltsForTargetNode and SimplifyDemandedBitsForTargetNode
  5. Fix OptTable::findNearest() adding delimiter for free Prior to this, OptTable::findNearest() thought that the input `--foo` had an editing distance of 0 from an existing flag `--foo=`, which made it suggest flags with delimiters more often than flags without one. After this, it correctly assigns this case an editing distance of 1. Differential Revision: https://reviews.llvm.org/D61373
  6. [LoopInfo] Faster implementation of setLoopID. NFC. Summary: This change was part of D46460. However, in the meantime rL341926 fixed the correctness issue here. What remained was the performance issue in setLoopID where it would iterate through all blocks in the loop and their successors, rather than just the predecessor of the header (the later presumably being much faster). We already have the `getLoopLatches` to compute precisely these basic blocks in an efficient manner, so just use it (as the original commit did for `getLoopID`). Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D61215
Revision 359690 by hubert.reinterpretcast:
[lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values

Summary:
Various tests in the `lit` testing suite expect specific return codes
and forms of diagnostic message from utility programs. As per
POSIX.1-2017 XCU Section 1.4, Utility Description Defaults, "[the]
format of diagnostic messages for most utilities is unspecified".
The STDERR subsections of the `cat` and `wc` utilities merely indicate
that "[the] standard error shall be used only for diagnostic messages".
The corresponding EXIT STATUS subsections merely indicate, with regard
to errors, an exit value of >0.

The affected tests are updated to accept the applicable diagnostic
message as produced by the utilities on AIX. The exit value is
normalized using `not` as necessary.

Reviewers: xingxue, sfertile, jasonliu

Reviewed By: xingxue

Subscribers: delcypher, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60553
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/tests/Inputs/shtest-output-printing/basic.txttrunk/utils/lit/tests/Inputs/shtest-output-printing/basic.txt
The file was modified/llvm/trunk/utils/lit/tests/shtest-format.pytrunk/utils/lit/tests/shtest-format.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-output-printing.pytrunk/utils/lit/tests/shtest-output-printing.py
Revision 359689 by hubert.reinterpretcast:
[tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples

Summary:
Triple components in `XFAIL` lines are tested against the target triple.
Various tests that are expected to fail on big-endian hosts are marked
as being `XFAIL` for big-endian targets. This patch corrects these tests
by having them test against a new `host-byteorder-big-endian` feature.

Reviewers: xingxue, sfertile, jasonliu

Reviewed By: xingxue

Subscribers: jvesely, nhaehnle, fedor.sergeev, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60551
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.strunk/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s
The file was modified/llvm/trunk/test/MC/AMDGPU/hsa-v3.strunk/test/MC/AMDGPU/hsa-v3.s
The file was modified/llvm/trunk/test/Transforms/SampleProfile/gcc-simple.lltrunk/test/Transforms/SampleProfile/gcc-simple.ll
The file was modified/llvm/trunk/test/Transforms/SampleProfile/indirect-call-gcc.lltrunk/test/Transforms/SampleProfile/indirect-call-gcc.ll
The file was modified/llvm/trunk/test/lit.cfg.pytrunk/test/lit.cfg.py
The file was modified/llvm/trunk/test/tools/llvm-cov/copy_block_helper.mtrunk/test/tools/llvm-cov/copy_block_helper.m
The file was modified/llvm/trunk/test/tools/llvm-cov/gcov47_compatibility.cpptrunk/test/tools/llvm-cov/gcov47_compatibility.cpp
The file was modified/llvm/trunk/test/tools/llvm-cov/llvm-cov.testtrunk/test/tools/llvm-cov/llvm-cov.test
The file was modified/llvm/trunk/test/tools/llvm-cov/range_based_for.cpptrunk/test/tools/llvm-cov/range_based_for.cpp
The file was modified/llvm/trunk/test/tools/llvm-profdata/gcc-gcov-sample-profile.testtrunk/test/tools/llvm-profdata/gcc-gcov-sample-profile.test
Revision 359688 by maskray:
[llvm-ar][llvm-nm][llvm-size] Change -long-option to --long-option in tests. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Object/archive-darwin-duplicates.testtrunk/test/Object/archive-darwin-duplicates.test
The file was modified/llvm/trunk/test/Object/archive-extract.testtrunk/test/Object/archive-extract.test
The file was modified/llvm/trunk/test/Object/archive-pad.testtrunk/test/Object/archive-pad.test
The file was modified/llvm/trunk/test/Object/nm-darwin-m.testtrunk/test/Object/nm-darwin-m.test
The file was modified/llvm/trunk/test/Object/nm-universal-binary.testtrunk/test/Object/nm-universal-binary.test
The file was modified/llvm/trunk/test/Object/size-trivial-macho.testtrunk/test/Object/size-trivial-macho.test
The file was modified/llvm/trunk/test/tools/gold/X86/thinlto_archive.lltrunk/test/tools/gold/X86/thinlto_archive.ll
The file was modified/llvm/trunk/test/tools/llvm-ar/override.testtrunk/test/tools/llvm-ar/override.test
The file was modified/llvm/trunk/test/tools/llvm-nm/ARM/macho-print-size.testtrunk/test/tools/llvm-nm/ARM/macho-print-size.test
The file was modified/llvm/trunk/test/tools/llvm-nm/X86/IRobj.testtrunk/test/tools/llvm-nm/X86/IRobj.test
The file was modified/llvm/trunk/test/tools/llvm-nm/X86/posix-aliases.testtrunk/test/tools/llvm-nm/X86/posix-aliases.test
The file was modified/llvm/trunk/test/tools/llvm-strings/archive-filename.testtrunk/test/tools/llvm-strings/archive-filename.test
The file was modified/llvm/trunk/test/tools/llvm-strings/nested-archives.testtrunk/test/tools/llvm-strings/nested-archives.test
Revision 359686 by rksimon:
[X86][SSE] Add demanded elts support X86ISD::PMULDQ\PMULUDQ

Add to SimplifyDemandedVectorEltsForTargetNode and SimplifyDemandedBitsForTargetNode
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpptrunk/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/vector-reduce-mul-widen.lltrunk/test/CodeGen/X86/vector-reduce-mul-widen.ll
The file was modified/llvm/trunk/test/CodeGen/X86/vector-reduce-mul.lltrunk/test/CodeGen/X86/vector-reduce-mul.ll
Revision 359685 by nico:
Fix OptTable::findNearest() adding delimiter for free

Prior to this, OptTable::findNearest() thought that the input `--foo`
had an editing distance of 0 from an existing flag `--foo=`, which made
it suggest flags with delimiters more often than flags without one.
After this, it correctly assigns this case an editing distance of 1.

Differential Revision: https://reviews.llvm.org/D61373
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Option/OptTable.cpptrunk/lib/Option/OptTable.cpp
The file was modified/llvm/trunk/unittests/Option/OptionParsingTest.cpptrunk/unittests/Option/OptionParsingTest.cpp
The file was modified/llvm/trunk/unittests/Option/Opts.tdtrunk/unittests/Option/Opts.td
Revision 359684 by kfischer:
[LoopInfo] Faster implementation of setLoopID. NFC.

Summary:
This change was part of D46460. However, in the meantime rL341926 fixed the
correctness issue here. What remained was the performance issue in setLoopID
where it would iterate through all blocks in the loop and their successors,
rather than just the predecessor of the header (the later presumably being
much faster). We already have the `getLoopLatches` to compute precisely these
basic blocks in an efficient manner, so just use it (as the original commit
did for `getLoopID`).

Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D61215
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Analysis/LoopInfo.cpptrunk/lib/Analysis/LoopInfo.cpp

Summary

  1. [clang-format] Fix bug that misses some function-like macro usages Fixes PR41483 Differential Revision: https://reviews.llvm.org/D61297
Revision 359687 by owenpan:
[clang-format] Fix bug that misses some function-like macro usages

Fixes PR41483

Differential Revision: https://reviews.llvm.org/D61297
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Format/UnwrappedLineParser.cpptrunk/lib/Format/UnwrappedLineParser.cpp
The file was modified/cfe/trunk/unittests/Format/FormatTest.cpptrunk/unittests/Format/FormatTest.cpp