FailedChanges

Summary

  1. [yaml2obj] Set p_align to the maximum sh_addralign of contained sections (details)
  2. Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen (details)
Commit 1da4f47195c2e5e4faaaca265ae2f9d9149b85df by maskray
[yaml2obj] Set p_align to the maximum sh_addralign of contained sections
The address difference between two sections in a PT_LOAD is a constant.
Consider a hypothetical case (pagesize can be very small, say, 4).
```
.text     sh_addralign=4
.text.hot sh_addralign=16
```
If we set p_align to 4, the PT_LOAD will be loaded at an address which
is a multiple of 4. The address of .text.hot is guaranteed to be a
multiple of 4, but not necessarily a multiple of 16.
This patch deletes the constraint
  if (SHeader->sh_offset == PHeader.p_offset)
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D67260
llvm-svn: 371501
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/program-header-align.yaml
Commit 612c260ec3fe15cd2b661dead1aa8fef34906cf4 by courbet
Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen
into opt pipeline."
With a fix for sanitizer breakage (see explanation in D60318).
llvm-svn: 371502
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
The file was modifiedllvm/test/CodeGen/Generic/llc-start-stop.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmpIR.ll
The file was removedllvm/lib/CodeGen/ExpandMemCmp.cpp
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/lit.local.cfg
The file was modifiedllvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp.ll
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was removedllvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp-mergeexpand.ll
The file was removedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/pr36421.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was removedllvm/test/CodeGen/X86/memcmp-mergeexpand.ll
The file was addedllvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
The file was removedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was addedllvm/test/Transforms/ExpandMemCmp/X86/pr36421.ll
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp-mergeexpand.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmp.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/lit.local.cfg
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/memcmpIR.ll
The file was removedllvm/test/CodeGen/AArch64/bcmp-inline-small.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll