FailedChanges

Summary

  1. [mlir] ExecutionEngine needs special handling for COFF binaries (details)
  2. Revert "[Driver][Windows] Support per-target runtimes dir layout for profile instr generate" (details)
  3. [SimplifyCFG] Update passingValueIsAlwaysUndefined to check more attributes (details)
  4. [LoopNest] Use `getUniqueSuccessor()` instead when checking empty blocks (details)
  5. Add more historic DWARF vendor extensions (details)
  6. [Debug-Info][NFC] move emitDwarfUnitLength to MCStreamer class (details)
Commit 3c4cdd0b6a6fd760707be9b5dec32378ec55c549 by kern.handa
[mlir] ExecutionEngine needs special handling for COFF binaries

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D97141
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp (diff)
Commit ab5b00ada9e77437ed2c76f73cfb8481bb9826a5 by thakis
Revert "[Driver][Windows] Support per-target runtimes dir layout for profile instr generate"

This reverts commit 7f9d5d6e444c91ce6f2e377b312ac573dfc6779a.
Breaks check-clang everywhere, see https://reviews.llvm.org/D96638#2583608
The file was modifiedclang/include/clang/Driver/ToolChain.h (diff)
The file was modifiedclang/test/Driver/cl-options.c (diff)
The file was modifiedclang/test/Driver/fsanitize.c (diff)
The file was modifiedclang/test/Driver/sanitizer-ld.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.h (diff)
The file was modifiedclang/lib/Driver/ToolChain.cpp (diff)
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.cpp (diff)
The file was modifiedclang/test/Driver/instrprof-ld.c (diff)
Commit 56d228a14e3631de157ae98dd61d21193e4502d5 by aqjune
[SimplifyCFG] Update passingValueIsAlwaysUndefined to check more attributes

This is a simple patch to update SimplifyCFG's passingValueIsAlwaysUndefined to inspect more attributes.

A new function `CallBase::isPassingUndefUB` checks attributes that imply noundef.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D97244
The file was modifiedllvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll (diff)
The file was modifiedllvm/include/llvm/IR/InstrTypes.h (diff)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp (diff)
Commit 98c6110d9bdda166a6093f8fdf1320b5f477ecbe by tu.da.wei
[LoopNest] Use `getUniqueSuccessor()` instead when checking empty blocks

Blocks that contain only a single branch instruction to the next block can be skipped in analyzing the loop-nest structure.
This is currently done by `getSingleSuccessor()`.
However, the branch instruction might have multiple targets which happen to all be the same.
In this case, the block should still be considered as empty and skipped.

An example is `test/Transforms/LoopInterchange/update-condbranch-duplicate-successors.ll` (the LIT test for this patch is modified from it as well).

Reviewed By: Whitney

Differential Revision: https://reviews.llvm.org/D97286
The file was addedllvm/test/Analysis/LoopNestAnalysis/duplicate-successors.ll
The file was modifiedllvm/lib/Analysis/LoopNestAnalysis.cpp (diff)
Commit c4a91444689455a35db1e7f50bcd876a3eb86126 by Adrian Prantl
Add more historic DWARF vendor extensions

The maintainer of libdwarf kindly provided this patch with a bunch of
historic DWARF extensions that are missing from Dwarf.def. This list
is helpful to avoid potential conflicts in the user-defined vendor
extension space in the future.

Patch by David Anderson!

Differential Revision: https://reviews.llvm.org/D97242
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def (diff)
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h (diff)
Commit be5d92e37e4fe0b7ba2f5658fa828c1c39988374 by czhengsz
[Debug-Info][NFC] move emitDwarfUnitLength to MCStreamer class

We may need to do some customization for DWARF unit length in DWARF
section headers for some targets for some code generation path.

For example, for XCOFF in assembly path, AIX assembler does not require
the debug section containing its debug unit length in the header.

Move emitDwarfUnitLength to MCStreamer class so that we can do
customization in different Streamers

Reviewed By: ikudrin

Differential Revision: https://reviews.llvm.org/D95932
The file was modifiedllvm/include/llvm/MC/MCStreamer.h (diff)
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp (diff)
The file was modifiedllvm/lib/MC/MCStreamer.cpp (diff)
The file was modifiedllvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp (diff)