SuccessChanges

Summary

  1. [compiler-rt] Fix lint check failure on comments This fixes buildbot failures for https://reviews.llvm.org/rL372459. (at least on PowerPC/Z ) The fix is generated by running clang-format on the error lines only.
  2. [InstCombine] allow icmp+binop folds before min/max bailout (PR43310) This has the potential to uncover missed analysis/folds as shown in the min/max code comment/test, but fewer restrictions on icmp folds should be better in general to solve cases like: https://bugs.llvm.org/show_bug.cgi?id=43310
  3. [InstCombine] add tests for icmp fold hindered by min/max; NFC
  4. Fix uninitialized variable warning. NFCI.
  5. [AArch64] AArch64StackTagging - Silence static analyzer dyn_cast<> null dereference warning. NFCI. The static analyzer is warning about potential null dereferences, but we should be able to use cast<> directly and if not assert will fire for us.
  6. gn build: Add missing RISCV to llvm_targets_to_build="all"
  7. gn build: Add build files for llvm/lib/Target/AVR Differential Revision: https://reviews.llvm.org/D67872
  8. [NVPTX] NVPTXLowerAggrCopies - Silence static analyzer dyn_cast<StoreInst> null dereference warning. NFCI.
  9. [Lanai] LanaiAsmParser - Silence static analyzer dyn_cast null dereference warnings. NFCI. We were already doing this dyn_cast && isa<> && cast<> pattern for some add*Operands methods, just do this more consistently to stop clang static analyzer warning so much.
Revision 372511 by jsji:
[compiler-rt] Fix lint check failure on comments

This fixes buildbot failures for https://reviews.llvm.org/rL372459.
(at least on PowerPC/Z )

The fix is generated by running clang-format on the error lines only.
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_interceptors.cpp (diff)compiler-rt.src/lib/asan/asan_interceptors.cpp
The file was modified/compiler-rt/trunk/lib/lsan/lsan_interceptors.cpp (diff)compiler-rt.src/lib/lsan/lsan_interceptors.cpp
Revision 372510 by spatel:
[InstCombine] allow icmp+binop folds before min/max bailout (PR43310)

This has the potential to uncover missed analysis/folds as shown in the
min/max code comment/test, but fewer restrictions on icmp folds should
be better in general to solve cases like:
https://bugs.llvm.org/show_bug.cgi?id=43310
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineSelect.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/icmp.ll (diff)llvm.src/test/Transforms/InstCombine/icmp.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/minmax-fold.ll (diff)llvm.src/test/Transforms/InstCombine/minmax-fold.ll
Revision 372509 by spatel:
[InstCombine] add tests for icmp fold hindered by min/max; NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/icmp.ll (diff)llvm.src/test/Transforms/InstCombine/icmp.ll
Revision 372508 by rksimon:
Fix uninitialized variable warning. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp (diff)llvm.src/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
Revision 372507 by rksimon:
[AArch64] AArch64StackTagging - Silence static analyzer dyn_cast<> null dereference warning. NFCI.

The static analyzer is warning about potential null dereferences, but we should be able to use cast<> directly and if not assert will fire for us.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64StackTagging.cpp (diff)llvm.src/lib/Target/AArch64/AArch64StackTagging.cpp
Revision 372506 by nico:
gn build: Add missing RISCV to llvm_targets_to_build="all"
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/Target/targets.gni (diff)llvm.src/utils/gn/secondary/llvm/lib/Target/targets.gni
Revision 372505 by nico:
gn build: Add build files for llvm/lib/Target/AVR

Differential Revision: https://reviews.llvm.org/D67872
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/TODO.txt (diff)llvm.src/utils/gn/TODO.txt
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVRllvm.src/utils/gn/secondary/llvm/lib/Target/AVR
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/AsmParserllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gnllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/BUILD.gnllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/Disassemblerllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gnllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/MCTargetDescllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/MCTargetDesc
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/MCTargetDesc/BUILD.gnllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/MCTargetDesc/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfollvm.src/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo
The file was added/llvm/trunk/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gnllvm.src/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/Target/targets.gni (diff)llvm.src/utils/gn/secondary/llvm/lib/Target/targets.gni
Revision 372504 by rksimon:
[NVPTX] NVPTXLowerAggrCopies - Silence static analyzer dyn_cast<StoreInst> null dereference warning. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp (diff)llvm.src/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
Revision 372503 by rksimon:
[Lanai] LanaiAsmParser - Silence static analyzer dyn_cast null dereference warnings. NFCI.

We were already doing this dyn_cast && isa<> && cast<> pattern for some add*Operands methods, just do this more consistently to stop clang static analyzer warning so much.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp (diff)llvm.src/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp