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


  1. [Object/ELF] - Refine the error reported when section's offset + size (details)
  2. Precommit tests for D70673 (details)
  3. [DDG] Data Dependence Graph - Topological Sort (Memory Leak Fix) (details)
Commit d7ecc0256ebda38e4c746a1ed0faeb3005410d93 by grimar
[Object/ELF] - Refine the error reported when section's offset + size
overruns the file buffer.
This is a follow-up requested in comments for D70826.
It changes the message from
"section X has a sh_offset (Y) + sh_size (Z) that cannot be represented"
"section X has a sh_offset (Y) + sh_size (Z) that is greater than the
file size (0xABC)"
when section's sh_offset + sh_size overruns a file buffer.
Differential revision:
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/tools/llvm-readobj/elf-verdef-invalid.test
The file was modifiedllvm/test/Object/invalid.test
The file was modifiedllvm/test/tools/llvm-readobj/elf-verneed-invalid.test
Commit 970d9719ea0d15795694d7686d4d8eb524bba379 by Sanne.Wouda
Precommit tests for D70673
The file was modifiedllvm/test/CodeGen/AArch64/neon-mla-mls.ll
The file was addedllvm/test/CodeGen/AArch64/overeager_mla_fusing.ll
Commit 2dd82a1c04961cac05966f29d22a2b4b42b01b69 by bmahjour
[DDG] Data Dependence Graph - Topological Sort (Memory Leak Fix)
Summary: This fixes the memory leak in
bec37c3fc766a7b97f8c52c181c325fd47b75259 and re-delivers the reverted
patch. In this patch the DDG DAG is sorted topologically to put the
nodes in the graph in the order that would satisfy all dependencies.
This helps transformations that would like to generate code based on the
DDG. Since the DDG is a DAG a reverse-post-order traversal would give us
the topological ordering. This patch also sorts the basic blocks passed
to the builder based on program order to ensure that the dependencies
are computed in the correct direction.
Authored By: bmahjour
Reviewer: Meinersbur, fhahn, myhsu, xtian, dmgreen, kbarton, jdoerfert
Reviewed By: Meinersbur
Subscribers: ychen, arphaman, simoll, a.elovikov, mgorny, hiraditya,
jfb, wuzish, llvm-commits, jsji, Whitney, etiotto, ppc-slack
Tags: #llvm
Differential Revision:
The file was modifiedllvm/test/Analysis/DDG/basic-loopnest.ll
The file was modifiedllvm/include/llvm/Analysis/DDG.h
The file was modifiedllvm/lib/Analysis/DDG.cpp
The file was modifiedllvm/test/Analysis/DDG/basic-a.ll
The file was modifiedllvm/test/Analysis/DDG/root-node.ll
The file was modifiedllvm/test/Analysis/DDG/basic-b.ll
The file was modifiedllvm/lib/Analysis/DependenceGraphBuilder.cpp
The file was modifiedllvm/include/llvm/Analysis/DependenceGraphBuilder.h