FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [InstCombine] avoid crash from deleting an instruction that still has (details)
  2. [RISCV][NFC] Add CFI-related tests (details)
  3. [RISCV] Fix CFA when doing split sp adjustment with fp (details)
  4. Revert "[InstCombine] avoid crash from deleting an instruction that (details)
  5. Docs: Updates Sphinx Quickstart template for new contributors (details)
  6. [NFC][Codegen] Add `x u% C1 == C2` with C1 u> C2 non-tautological tests (details)
Commit ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab by spatel
[InstCombine] avoid crash from deleting an instruction that still has
uses (PR43723)
We gather a set of white-listed instructions in isAllocSiteRemovable()
and then replace/erase them. But we don't know in general if the
instructions in the set have uses amongst themselves, so order of
deletion makes a difference.
There's already a special-case for the llvm.objectsize intrinsic, so add
another for llvm.invariant.end.
Should fix: https://bugs.llvm.org/show_bug.cgi?id=43723
Differential Revision: https://reviews.llvm.org/D69977
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
Commit be0fead7bffbf65c519ca50c89584e65dcf18793 by luismarques
[RISCV][NFC] Add CFI-related tests
Summary: Adds tests necessary to properly show the impact of other
patches that affect the emission of CFI directives.
Reviewers: asb, lenary Reviewed By: lenary Tags: #llvm Differential
Revision: https://reviews.llvm.org/D69721
The file was modifiedllvm/test/CodeGen/RISCV/frame-info.ll
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit 1c737f54bee9df81c63ddf6ee2ad1d23a93c0ba0 by luismarques
[RISCV] Fix CFA when doing split sp adjustment with fp
Summary: When using the split sp adjustment and using the frame-pointer
we were still emitting CFI CFA directives based on the sp value. The
final sp-based offset also didn't reflect the two-stage sp adjust. There
remain CFI issues that aren't related to the split sp adjustment, and
thus will be addressed in a separate patch.
Reviewers: asb, lenary, shiva0217 Reviewed By: lenary, shiva0217 Tags:
#llvm Differential Revision: https://reviews.llvm.org/D69385
The file was modifiedllvm/test/CodeGen/RISCV/large-stack.ll
The file was modifiedllvm/test/CodeGen/RISCV/vararg.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVFrameLowering.cpp
Commit b0ac26a6326ff145f7c09ec55a5cb6f695b6a237 by spatel
Revert "[InstCombine] avoid crash from deleting an instruction that
still has uses (PR43723)"
This reverts commit ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab. Sanitizer
bots fail with this change.
The file was modifiedllvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit bcca123bd0cf78dfca9fc348b75ad272db8126a3 by deforest.richards
Docs: Updates Sphinx Quickstart template for new contributors
The file was modifiedllvm/docs/SphinxQuickstartTemplate.rst
Commit 7874db75ef41f5c387f83e1d0bd16607721ddf89 by lebedev.ri
[NFC][Codegen] Add `x u% C1 == C2` with C1 u> C2 non-tautological tests
The file was addedllvm/test/CodeGen/AArch64/urem-seteq-nonzero.ll
The file was addedllvm/test/CodeGen/AArch64/urem-seteq-vec-nonzero.ll
The file was addedllvm/test/CodeGen/X86/urem-seteq-nonzero.ll
The file was addedllvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll