This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-stable-allnoconfig in repository toolchain/ci/llvm-project.
from 0f80927316c [lit] Fix internal diff's --strip-trailing-cr and use it adds 648875bbcff [lit] Fix a few oversights in r374651 that broke some bots adds ba229557dd2 [lit] Try to fix new tests that fail on Windows bots adds 1b59a16c0b8 [CostModel][X86] Improve sum reduction costs. adds 0e22cb6ce39 Revert r374654: "[lit] Try to fix new tests that fail on Wi [...] adds 1f5823b7880 [lit] Try again to fix new tests that fail on Windows bots adds 9f0885d38d8 [X86][SSE] Avoid unnecessary PMOVZX in v4i8 sum reduction adds 4644e9a50a4 remove an useless allocation found by scan-build - the new [...] adds c41e9f6bbfd [NFC][LoopIdiom] Move one bcmp test into the proper place adds 45539737ddb [NFC][LoopIdiom] Add bcmp loop idiom miscompile test from PR43206. adds 76cdcf25b88 [LoopIdiomRecognize] Recommit: BCmp loop idiom recognition adds 1f20bc17d00 [clang-format] Proposal for clang-format to give compiler s [...] adds 8259f7ca120 Revert r374657: "[lit] Try again to fix new tests that fail [...] adds a271acbf793 [lit] Try yet again to fix new tests that fail on Windows bots adds 64c00893fae [lit] Adjust error handling for decode introduced by r374665 adds 6446079add8 [X86] Use any_of/all_of patterns in shuffle mask pattern re [...] adds 37041c7d226 Fix cppcheck shadow variable name warnings. NFCI. adds 66417a9f036 Replace for-loop of SmallVector::push_back with SmallVector [...] adds c8ac97edc89 [NFC][LoopIdiom] Adjust FIXME to be self-explanatory adds 1e98a6c57a0 [lit] Try errors="ignore" for decode introduced by r374665 adds 936c6b57be1 SymbolRecord - fix uninitialized variable warnings. NFCI. adds 5f2543f8dc0 SymbolRecord - consistently use explicit for single operand [...] adds 67165126703 [X86] scaleShuffleMask - use size_t Scale to avoid overflow [...] adds 459a93659a9 Revert r374671: "[lit] Try errors="ignore" for decode intro [...] adds b005d9e86ff Revert r374666: "[lit] Adjust error handling for decode int [...] adds e9d3b8192ed Revert r374665: "[lit] Try yet again to fix new tests that [...] adds 9abfa581711 Revert r374653: "[lit] Fix a few oversights in r374651 that [...] adds 57046e8fd9b Revert r374652: "[lit] Fix internal diff's --strip-trailing [...] adds b3f157a9008 Revert 374651: "Reland r374392: [lit] Extend internal diff [...] adds f6210fc24f2 Revert r374650: "Reland r374390: [lit] Extend internal diff [...] adds 199f5cd8636 Revert r374649: "Reland r374389: [lit] Clean up internal di [...] adds 3049748e15b Revert r374648: "Reland r374388: [lit] Make internal diff w [...] adds e198823b87b [libc++][test] Silence MSVC warning in std::optional test adds b12012cc980 gn build: (manually) merge r374663 adds e95d1ca1e2e Revert r374663 "[clang-format] Proposal for clang-format to [...] adds 92694eba933 [SROA] Reuse existing lifetime markers if possible adds ea1e81f54b9 [Attributor][FIX] Avoid modifying naked/optnone functions adds 9daf51910b1 [Attributor][FIX] Add missing function declaration in test case adds d20f80780e0 [Attributor][FIX] Do not apply h2s for arbitrary mallocs adds af6e4797330 [Attributor][FIX] Ensure h2s doesn't trigger on escaped pointers adds 3753aa75d2f [Attributor][NFC] Expose call site traversal without QueryingAA adds e9d3f708220 [Attributor] Remove unused verification flag adds 4868841ee4f [Attributor][FIX] Remove leftover, now unused, variable adds 4056e7f02a4 [Attributor][FIX] Avoid splitting blocks if possible adds 8fe8adb9f19 [X86] Add v2i64->v2i32/v2i16/v2i8 test cases to the trunc p [...] adds bf57aa2b25c [X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating trunca [...] adds d50cb9ac8ca [X86] Add a one use check on the setcc to the min/max canon [...] adds 82f8f8b44cd [clang-tidy] New checker for not null-terminated result cau [...] adds 0fb5a1ee97a gn build: Merge r374707 adds 2e77fcb05b3 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds adac533d957 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds 3965c76abcc [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds 78037577f12 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds b56989bcc7d [clang-tidy] bugprone-not-null-terminated-result: checker a [...] new d2b790eb680 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] new 944a051ebbd IRTranslator - silence static analyzer null dereference war [...] new 2c775709f6c BlockInCriticalSectionChecker - silence static analyzer dyn [...]
The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../bugprone/NotNullTerminatedResultCheck.cpp | 1007 ++++++++++++++++++ .../bugprone/NotNullTerminatedResultCheck.h | 67 ++ clang-tools-extra/docs/ReleaseNotes.rst | 9 + .../checks/bugprone-not-null-terminated-result.rst | 132 +++ clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../not-null-terminated-result-c.h | 39 + .../not-null-terminated-result-cxx.h | 65 ++ ...ll-terminated-result-in-initialization-strlen.c | 84 ++ ...not-null-terminated-result-memcpy-before-safe.c | 71 ++ ...-not-null-terminated-result-memcpy-safe-cxx.cpp | 124 +++ ...-not-null-terminated-result-memcpy-safe-other.c | 112 ++ ...gprone-not-null-terminated-result-memcpy-safe.c | 124 +++ .../bugprone-not-null-terminated-result-strlen.c | 123 +++ .../bugprone-not-null-terminated-result-wcslen.cpp | 111 ++ ...not-null-terminated-result-wmemcpy-safe-cxx.cpp | 111 ++ clang/lib/CodeGen/CGExprScalar.cpp | 4 +- .../Checkers/BlockInCriticalSectionChecker.cpp | 2 +- .../make_optional_explicit.pass.cpp | 2 +- llvm/docs/ReleaseNotes.rst | 3 + .../include/llvm/DebugInfo/CodeView/SymbolRecord.h | 252 ++--- llvm/include/llvm/Transforms/IPO/Attributor.h | 25 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 7 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 88 +- llvm/lib/Target/X86/X86ISelLowering.h | 8 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 45 +- llvm/lib/Transforms/IPO/Attributor.cpp | 127 ++- llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 878 +++++++++++++++- llvm/lib/Transforms/Scalar/SROA.cpp | 10 +- llvm/test/Analysis/CostModel/X86/reduce-add.ll | 241 ++--- llvm/test/Analysis/CostModel/X86/reduction.ll | 236 ++--- llvm/test/CodeGen/X86/midpoint-int.ll | 605 +++++------ llvm/test/CodeGen/X86/vector-reduce-add.ll | 14 +- llvm/test/CodeGen/X86/vector-trunc-packus.ll | 1064 ++++++++++++++++++- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 1100 ++++++++++++++++++-- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 718 +++++++++++++ llvm/test/MC/AsmParser/preserve-comments.s | 2 +- .../test/Transforms/FunctionAttrs/heap_to_stack.ll | 124 ++- llvm/test/Transforms/FunctionAttrs/liveness.ll | 4 +- llvm/test/Transforms/FunctionAttrs/nonnull.ll | 26 + .../Transforms/FunctionAttrs/noreturn_async.ll | 8 +- .../test/Transforms/FunctionAttrs/noreturn_sync.ll | 4 +- llvm/test/Transforms/LoopIdiom/bcmp-basic.ll | 896 +++++++--------- .../Transforms/LoopIdiom/bcmp-debugify-remarks.ll | 119 +-- .../Transforms/LoopIdiom/bcmp-negative-tests.ll | 80 +- llvm/test/Transforms/LoopIdiom/bcmp-widening.ll | 2 +- .../Transforms/SLPVectorizer/X86/remark_horcost.ll | 2 +- .../test/Transforms/SROA/reuse_lifetime_markers.ll | 69 ++ llvm/test/tools/llvm-cxxmap/remap.test | 2 +- .../tools/llvm-profdata/profile-symbol-list.test | 2 +- llvm/test/tools/llvm-profdata/roundtrip.test | 10 +- llvm/test/tools/llvm-profdata/sample-remap.test | 2 +- .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + llvm/utils/lit/lit/TestRunner.py | 224 +++- llvm/utils/lit/lit/builtin_commands/diff.py | 241 ----- .../tests/Inputs/shtest-shell/diff-encodings.txt | 15 - .../lit/tests/Inputs/shtest-shell/diff-error-0.txt | 3 + .../lit/tests/Inputs/shtest-shell/diff-in.bin | Bin 26 -> 0 bytes .../lit/tests/Inputs/shtest-shell/diff-in.dos | 3 - .../lit/tests/Inputs/shtest-shell/diff-in.unix | 3 - .../lit/tests/Inputs/shtest-shell/diff-in.utf16 | Bin 24 -> 0 bytes .../lit/tests/Inputs/shtest-shell/diff-in.utf8 | 3 - .../lit/tests/Inputs/shtest-shell/diff-pipes.txt | 25 - .../tests/Inputs/shtest-shell/diff-r-error-7.txt | 2 - .../tests/Inputs/shtest-shell/diff-r-error-8.txt | 2 - .../Inputs/shtest-shell/diff-strip-trailing-cr.txt | 10 - .../lit/tests/Inputs/shtest-shell/diff-unified.txt | 38 - llvm/utils/lit/tests/max-failures.py | 2 +- llvm/utils/lit/tests/shtest-shell.py | 341 +----- 70 files changed, 7443 insertions(+), 2435 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 llvm/test/Transforms/SROA/reuse_lifetime_markers.ll delete mode 100644 llvm/utils/lit/lit/builtin_commands/diff.py delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.dos delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.unix delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16 delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8 delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt