FailedChanges

Summary

  1. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  2. Fix unused variable warning. NFCI. (details)
  3. [clangd] Make output order of allTargetDecls deterministic (details)
  4. [ELF] Optimization to LinkerScript::computeInputSections NFC (details)
  5. Revert "[PHIEliminate] Move dbg values after phi and label" (details)
Commit 19c5057e8df62e75b26e881dfc8f8f32686fe75c by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately in all cases and castAs will perform the null assertion for
us.
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp (diff)
Commit 23a887b0dd48639716b78a1c9ca665df49f64b2e by llvm-dev
Fix unused variable warning. NFCI.
The file was modifiedllvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp (diff)
Commit d54d71b67e602674a255e299a22fe31dee1f3619 by kadircet
[clangd] Make output order of allTargetDecls deterministic
Summary: Makes use of insertion order to stabilize output for multiple
decls.
Fixes https://bugs.llvm.org/show_bug.cgi?id=44564
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, mgrang, arphaman,
usaxena95, cfe-commits, aemerson
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72826
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp (diff)
Commit d36b2649e5e4d90a3f439e2a16057cd75566c669 by andrew.ng
[ELF] Optimization to LinkerScript::computeInputSections NFC
Moved the section name check ahead of any filename matching or
exclusion. Firstly, this reduces the need to retrieve the filename and
secondly, reduces the amount of potentially expensive filename pattern
matching if such rules are present in the linker script.
The impact of this change is particularly significant when linking
objects built with -ffunction-sections and -fstack-size-section, using a
linker script that includes non-trivial filename patterns. In a number
of such cases, the link time is halved.
Differential Revision: https://reviews.llvm.org/D72775
The file was modifiedlld/ELF/LinkerScript.cpp (diff)
Commit c969335abdb22284691e7cb2894820350cfe422b by jeremy.morse
Revert "[PHIEliminate] Move dbg values after phi and label"
Testing compiler-rt, a new assertion failure occurs when building the
GwpAsanTestObjects object. I'm uploading a reproducer to D70597.
This reverts commit 75188b01e9af3a89639d84be912f84610d6885ba.
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp (diff)
The file was modifiedllvm/lib/CodeGen/PHIElimination.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp (diff)
The file was removedllvm/test/CodeGen/X86/dbg-changes-codegen-phi-elimination.ll