SuccessChanges

Summary

  1. [llvm-cov gcov] Simply computation of line counts and exit block counter (details)
  2. [Attributor] Cleanup `::initialize` of various AAs (details)
  3. [Attributor][NFC] Improve check lines in depgraph.ll (details)
  4. [ARM] Try to rematerialize VCTP instructions (details)
Commit 6a9a0bfc3350efc0fc7fabec9a1fef94f4e9cc86 by i
[llvm-cov gcov] Simply computation of line counts and exit block counter
The file was modifiedllvm/lib/ProfileData/GCOV.cpp (diff)
Commit d445b6dfec13cdf9b9cb01582ec93548ea30ed0e by johannes
[Attributor] Cleanup `::initialize` of various AAs

This commit cleans up the ::initialize method of various AAs in the
following ways:
  - If an associated function is required, give up on declarations.
    This was discovered as a real problem when lots of llvm.dbg.XXX
    call sites were assumed `noreturn` until proven otherwise. That
    does not make any sense and caused huge regressions and missed
    deductions.
  - Require more associated declarations for function interface AAs.
  - Use the IRAttribute::initialize to determine if function interface
    AAs can be used in IPO, don't replicate the checks (especially
    isFunctionIPOAmendable) all over the place. Arguably the function
    declaration check should be moved to some central place to.
The file was modifiedllvm/test/Transforms/Attributor/nofree.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/noundef.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/dereferenceable-2.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/misc.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/noalias.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/liveness.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll (diff)
Commit f9ea4501b861ecc987afb4a71266dcc83ae640ca by johannes
[Attributor][NFC] Improve check lines in depgraph.ll

This adds the check lines with -NEXT so we see any change in the future.
The file was modifiedllvm/test/Transforms/Attributor/depgraph.ll (diff)
Commit 3ebc7552270e632d16e7900dd6933ed467159289 by sam.parker
[ARM] Try to rematerialize VCTP instructions

We really want to try and avoid spilling P0, which can be difficult
since there's only one register, so try to rematerialize any VCTP
instructions.

Differential Revision: https://reviews.llvm.org/D87280
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/remat-vctp.ll (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll (diff)