FailedChanges

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

Summary

  1. [Strict FP] Allow custom operation actions (details)
  2. Support 64-bit offsets in utility classes (1/5) (details)
  3. Switch LLVM to use 64-bit offsets (2/5) (details)
  4. [X86][SSE] Add tests for min/max partial reduction (details)
  5. [X86][SSE] Enable min/max partial reduction (details)
  6. Try to unbreak buildbots after r368014 (details)
  7. [clangd] Compute scopes eagerly in IncludeFixer (details)
  8. [CrossTU] Handle case when no USR could be generated during Decl search. (details)
  9. [yaml2obj] Move core yaml2obj code into lib and include for use in unit (details)
  10. [X86] SimplifyMultipleUseDemandedBits - target shuffles might not be (details)
  11. [llvm/test/Object] Remove redundant test case. NFC (details)
  12. [AArch64] NFC: Add generic StackOffset to describe scalable offsets. (details)
  13. gn build: Merge r368021 (details)
  14. [X86][SSE] Call SimplifyMultipleUseDemandedBits on PACKSS/PACKUS (details)
  15. gn build: Merge r368024 (details)
  16. [InstCombine] add tests for binop with FMF with select operands; NFC (details)
  17. Improve MSVC visualizations so the parser shows where we are in the code (details)
  18. Fixed failing test cases (details)
  19. AArch64: bail instead of asserting on unexpected type in G_CONSTANT 0. (details)
  20. [MachO] Update LLD to use 64-bit offsets with DataExtractor (3/5) (details)
  21. Update LLDB to follow changes in llvm::DWARFDebugNames::NameIndex (4/5) (details)
  22. Revert "gn build: Merge r368021" (details)
  23. Revert "[yaml2obj] Move core yaml2obj code into lib and include for use (details)
  24. Revert "Fixed failing test cases" (details)
  25. [ELF] Make binding (weak or non-weak) logic consistent for Undefined and (details)
  26. [ELF][ARM] Fix /DISCARD/ of section with .ARM.exidx section (details)
  27. [StructurizeCFG] Enable -structurizecfg-relaxed-uniform-regions by (details)
  28. [TargetLowering] SimplifyMultipleUseDemandedBits - return UNDEF for (details)
  29. [test/Object] - Cleanup the Object\obj2yaml.test a bit. (details)
  30. [XCOFF][MC] report_fatal_error before dereferencing NULL (details)
  31. [AArch64] NFC: Generalize emitFrameOffset to support more than byte (details)
  32. [CMake] Add mapping for IBM XL -qnoeh and -qnortti (details)
Commit 7b24dd741c6c4734f8cf5b9fafc12bf9e38411d6 by ulrich.weigand
[Strict FP] Allow custom operation actions
This patch changes the DAG legalizer to respect the operation actions
set by the target for strict floating-point operations. (Currently, the
legalizer will usually fall back to mutate to the non-strict action
(which is assumed to be legal), and only skip mutation if the strict
operation is marked legal.)
With this patch, if whenever a strict operation is marked as Legal or
Custom, it is passed to the target as usual. Only if it is marked as
Expand will the legalizer attempt to mutate to the non-strict operation.
Note that this will now fail if the non-strict operation is itself
marked as Custom -- the target will have to provide a Custom definition
for the strict operation then as well.
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D65226
llvm-svn: 368012
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Commit f5f35c5cd110e22c4b216ec1dc53255e32adc011 by ikudrin
Support 64-bit offsets in utility classes (1/5)
Using 64-bit offsets is required to fully implement 64-bit DWARF. As
these classes are used in many different libraries they should
temporarily support both 32- and 64-bit offsets.
Differential Revision: https://reviews.llvm.org/D64006
llvm-svn: 368013
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
The file was modifiedllvm/lib/Support/DataExtractor.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
Commit f26a70a5e7b7b8715eadcb6dec3ff39a267fc666 by ikudrin
Switch LLVM to use 64-bit offsets (2/5)
This updates all libraries and tools in LLVM Core to use 64-bit offsets
which directly or indirectly come to DataExtractor.
Differential Revision: https://reviews.llvm.org/D65638
llvm-svn: 368014
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modifiedllvm/lib/Object/Decompressor.cpp
The file was modifiedllvm/unittests/XRay/FDRProducerConsumerTest.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
The file was modifiedllvm/tools/llvm-dwp/llvm-dwp.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was modifiedllvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/XRay/FDRRecordProducer.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
The file was modifiedllvm/lib/XRay/InstrumentationMap.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
The file was modifiedllvm/lib/XRay/FileHeaderReader.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFGdbIndex.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
The file was modifiedllvm/lib/XRay/RecordInitializer.cpp
The file was modifiedllvm/lib/DebugInfo/Symbolize/Symbolize.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
The file was modifiedllvm/tools/llvm-xray/xray-fdr-dump.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/lib/XRay/Profile.cpp
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFListTable.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinker.cpp
The file was modifiedllvm/lib/XRay/Trace.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinker.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
The file was modifiedllvm/include/llvm/XRay/FDRRecords.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/include/llvm/XRay/FileHeaderReader.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
The file was modifiedllvm/include/llvm/XRay/FDRRecordProducer.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp
Commit 23cd0da9e9882fc534f430f3bf2e695b61a9904a by llvm-dev
[X86][SSE] Add tests for min/max partial reduction
As mentioned on D65047 / rL366933 the plan is to enable partial
reduction handling wherever possible.
llvm-svn: 368015
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smin.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umin.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umax.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smax.ll
Commit c6735aecfa750509ae0dfb223f9d458fe4f81b51 by llvm-dev
[X86][SSE] Enable min/max partial reduction
As mentioned on D65047 / rL366933 the plan is to enable partial
reduction handling wherever possible.
llvm-svn: 368016
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umax.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smin.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-smax.ll
The file was modifiedllvm/test/CodeGen/X86/horizontal-reduce-umin.ll
Commit 2836cf0b72aa84e67998e0db7105e783f3a111dc by ikudrin
Try to unbreak buildbots after r368014
llvm-svn: 368018
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
Commit 56bdb0c5082547229ff668405bde2ef5254ee817 by ibiryukov
[clangd] Compute scopes eagerly in IncludeFixer
Summary: Computing lazily leads to crashes. In particular, computing
scopes may produce diagnostics (from inside template instantiations) and
we currently do it when processing another diagnostic, which leads to
crashes.
Moreover, we remember and access 'Scope*' when computing scopes. This
might lead to invalid memory access if the Scope is deleted by the time
we run the delayed computation. We did not actually construct an example
when this happens, though.
From the VCS and review history, it seems the optimization was
introduced in the initial version without a mention of any performance
benchmarks justifying the performance gains. This led me to a conclusion
that the optimization was premature, so removing it to avoid crashes
seems like the right trade-off at that point.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65796
llvm-svn: 368019
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
The file was modifiedclang-tools-extra/clangd/IncludeFixer.h
The file was modifiedclang-tools-extra/clangd/IncludeFixer.cpp
Commit 4e79097dc7c30ea8e1a7e96b740113e7cd9e635d by 1.int32
[CrossTU] Handle case when no USR could be generated during Decl search.
Summary: When searching for a declaration to be loaded the "lookup name"
for every other Decl is computed. If the USR can not be determined here
should be not an assert, instead skip this Decl.
Reviewers: martong
Reviewed By: martong
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65445
llvm-svn: 368020
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/func-mapping-test.cpp
The file was modifiedclang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
The file was modifiedclang/include/clang/CrossTU/CrossTranslationUnit.h
The file was modifiedclang/lib/CrossTU/CrossTranslationUnit.cpp
The file was modifiedclang/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.txt
The file was modifiedclang/test/Analysis/Inputs/ctu-other.cpp
Commit 3cfeaa4d2c17ff3f9285c475cd706167b0c172fe by alexbrachetmialot
[yaml2obj] Move core yaml2obj code into lib and include for use in unit
tests
Reviewers: jhenderson, rupprecht, MaskRay, grimar, labath
Reviewed By: rupprecht
Subscribers: seiya, mgorny, sbc100, hiraditya, aheejin, jakehehrlich,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65255
llvm-svn: 368021
The file was modifiedllvm/lib/ObjectYAML/LLVMBuild.txt
The file was addedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was addedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was removedllvm/tools/yaml2obj/yaml2wasm.cpp
The file was addedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was addedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was addedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/tools/yaml2obj/CMakeLists.txt
The file was removedllvm/tools/yaml2obj/yaml2minidump.cpp
The file was addedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
The file was modifiedllvm/unittests/ObjectYAML/CMakeLists.txt
The file was addedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was removedllvm/tools/yaml2obj/yaml2elf.cpp
The file was removedllvm/tools/yaml2obj/yaml2macho.cpp
The file was modifiedllvm/lib/ObjectYAML/CMakeLists.txt
The file was addedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was removedllvm/tools/yaml2obj/yaml2obj.h
The file was removedllvm/tools/yaml2obj/yaml2coff.cpp
Commit 01d267dc4fd2d74fb07641e36daa48a7afd15ab6 by llvm-dev
[X86] SimplifyMultipleUseDemandedBits - target shuffles might not be
identity
If we don't demand any non-undef shuffle elements then the assert will
fail as all shuffle inputs would still be flagged as 'identity' safe.
Exposed by an incoming patch.
llvm-svn: 368022
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 2fbf58c6e6cfe661f1a7ea6d4162e47bd938301f by simon
[llvm/test/Object] Remove redundant test case. NFC
Remove redundant `yaml2obj-elf-file-headers-with-e_flags.yaml` test
case. The same functionality is checked by the `Mips/elf-flags.yaml`.
llvm-svn: 368023
The file was removedllvm/test/Object/yaml2obj-elf-file-headers-with-e_flags.yaml
Commit 612b038966103ab03d32125c79882043a635533d by sander.desmalen
[AArch64] NFC: Add generic StackOffset to describe scalable offsets.
To support spilling/filling of scalable vectors we need a more generic
representation of a stack offset than simply 'int'.
For this we introduce the StackOffset struct, which comprises multiple
offsets sized by their respective MVTs. Byte-offsets will thus be a
simple tuple such as { offset, MVT::i8 }. Adding two byte-offsets will
result in a byte offset { offsetA + offsetB, MVT::i8 }. When two offsets
have different types, we can canonicalise them to use the same MVT, as
long as their runtime sizes are guaranteed to have the same size-ratio
as they would have at compile-time.
When we have both scalable- and fixed-size objects on the stack, we can 
create an offset that is:
  ({ offset_fixed, MVT::i8 } + { offset_scalable, MVT::nxv1i8 })
The struct also contains a getForFrameOffset() method that is specific
to AArch64 and decomposes the frame-offset to be used directly in
instructions that operate on the stack or index into the stack.
Note: This patch adds StackOffset as an AArch64-only concept, but we
would like to make this a generic concept/struct that is supported by
all  interfaces that take or return stack offsets (currently as 'int').
Since that would be a bigger change that is currently pending on D32530
landing, we thought it makes sense to first show/prove the concept in
the AArch64 target before proposing to roll this out further.
Reviewers: thegameg, rovka, t.p.northover, efriedma, greened
Reviewed By: rovka, greened
Differential Revision: https://reviews.llvm.org/D61435
llvm-svn: 368024
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.h
The file was modifiedllvm/unittests/Target/AArch64/CMakeLists.txt
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.h
The file was addedllvm/lib/Target/AArch64/AArch64StackOffset.h
The file was addedllvm/unittests/Target/AArch64/TestStackOffset.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
Commit 87951c89d7bb294e336d6bfdf5f0143ab006fa13 by nicolasweber
gn build: Merge r368021
llvm-svn: 368025
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
Commit cf62047d29905609561c1a330040b90254bdb5af by llvm-dev
[X86][SSE] Call SimplifyMultipleUseDemandedBits on PACKSS/PACKUS
arguments.
This mainly helps to replace unused arguments with UNDEF in the case
where they have multiple users.
llvm-svn: 368026
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus-widen.ll
Commit b2ec7a0da651792c1c538d4773f39a9a94906229 by nicolasweber
gn build: Merge r368024
llvm-svn: 368027
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/AArch64/BUILD.gn
Commit efc24d9d6f0bb113dae879eaae7dccafa4ddac31 by spatel
[InstCombine] add tests for binop with FMF with select operands; NFC
Baseline coverage for D65658.
llvm-svn: 368028
The file was modifiedllvm/test/Transforms/InstCombine/select_arithmetic.ll
Commit 49068a054bda02d4efeb4ef62ffe3de141fef082 by mike
Improve MSVC visualizations so the parser shows where we are in the code
Also provide a visualizer for lambda introducers
llvm-svn: 368029
The file was modifiedclang/utils/ClangVisualizers/clang.natvis
Commit 9eee4254796df1a34a0452fa91e8ce4e38b6a5bb by alexbrachetmialot
Fixed failing test cases
llvm-svn: 368030
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
Commit b5abc425d27fe069db93e8879743ae691b298006 by Tim Northover
AArch64: bail instead of asserting on unexpected type in G_CONSTANT 0.
llvm-svn: 368031
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/const-0.ll
Commit 5978c9249bbfc544814621234504fc55fc4d3d18 by ikudrin
[MachO] Update LLD to use 64-bit offsets with DataExtractor (3/5)
Differential Revision: https://reviews.llvm.org/D65639
llvm-svn: 368032
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
Commit 0be738895c9333160406613d789c64e442c210cb by ikudrin
Update LLDB to follow changes in llvm::DWARFDebugNames::NameIndex (4/5)
Differential Revision: https://reviews.llvm.org/D65640
llvm-svn: 368033
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
Commit bd1721e534ca34b7f50f2d6ab5f979b3a35ff19c by gribozavr
Revert "gn build: Merge r368021"
This reverts commit r368025, which depends on r368021, which needs to be
reverted.
llvm-svn: 368034
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ObjectYAML/BUILD.gn
Commit fc21bb661f5177eaec4d756b904167be4f0e7dfb by gribozavr
Revert "[yaml2obj] Move core yaml2obj code into lib and include for use
in unit tests"
This reverts commit r368021, it broke tests.
llvm-svn: 368035
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was removedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/unittests/ObjectYAML/CMakeLists.txt
The file was addedllvm/tools/yaml2obj/yaml2macho.cpp
The file was removedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was modifiedllvm/tools/yaml2obj/CMakeLists.txt
The file was removedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was removedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was removedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was removedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was addedllvm/tools/yaml2obj/yaml2elf.cpp
The file was removedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/CMakeLists.txt
The file was removedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was addedllvm/tools/yaml2obj/yaml2obj.h
The file was modifiedllvm/lib/ObjectYAML/LLVMBuild.txt
The file was removedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
The file was addedllvm/tools/yaml2obj/yaml2coff.cpp
The file was addedllvm/tools/yaml2obj/yaml2minidump.cpp
The file was addedllvm/tools/yaml2obj/yaml2wasm.cpp
Commit 81dc15e8836e2e62c7c2d782fb9e3ed091f10587 by gribozavr
Revert "Fixed failing test cases"
This reverts commit r368030, which depends on r368021 that I reverted.
llvm-svn: 368036
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
Commit e49c417ed1847a3b8e7595ddb8212ea8d13df5df by maskray
[ELF] Make binding (weak or non-weak) logic consistent for Undefined and
SharedSymbol
This is a case missed by D64136. If %t1.o has a weak reference on foo,
and %t2.so has a non-weak reference on foo:
``` 0. ld.lld %t1.o %t2.so          # ok; STB_WEAK; accepted since
D64136 1. ld.lld %t2.so %t1.o          # undefined symbol: foo;
STB_GLOBAL 2. gold %t1.o %t2.so            # ok; STB_WEAK 3. gold %t2.so
%t1.o            # undefined reference to 'foo'; STB_GLOBAL 4. ld.bfd
%t1.o %t2.so          # undefined reference to `foo'; STB_WEAK 5. ld.bfd
%t2.so %t1.o          # undefined reference to `foo'; STB_WEAK
```
It can be argued that in both cases, the binding of the undefined foo
should be set to STB_WEAK, because the binding should not be affected by
referenced from shared objects.
--allow-shlib-undefined doesn't suppress errors (3,4,5), but -shared or
--noinhibit-exec allows ld.bfd/gold to produce a binary:
``` 3. gold -shared %t2.so %t1.o    # ok; STB_GLOBAL 4. ld.bfd -shared
%t2.so %t1.o  # ok; STB_WEAK 5. ld.bfd -shared %t1.o %t1.o   # ok;
STB_WEAK
```
If %t2.so has DT_NEEDED entries, ld.bfd will load them (lld/gold don't
have the behavior). If one of the DSO defines foo and it is in the
link-time search path (e.g. DT_NEEDED entry is an absolute path, via
-rpath=, via -rpath-link=, etc),
`ld.bfd %t1.o %t2.so` and `ld.bfd %t1.o %t2.so` will not error.
In this patch, we make Undefined and SharedSymbol share the same binding
computing logic. Case 1 will be allowed:
``` 0. ld.lld %t1.o %t2.so          # ok; STB_WEAK; accepted since
D64136 1. ld.lld %t2.so %t1.o          # ok; STB_WEAK; changed by this
patch
```
In the future, we can explore the option that turns both (0,1) into
errors if --no-allow-shlib-undefined (default when linking an
executable) is in action.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D65584
llvm-svn: 368038
The file was modifiedlld/ELF/InputFiles.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/Symbols.h
The file was modifiedlld/test/ELF/weak-undef-shared.s
Commit 7f320d4bf074047080962b8eb4adf60663cb23e6 by peter.smith
[ELF][ARM] Fix /DISCARD/ of section with .ARM.exidx section
The combineEhSections runs, by design, before processSectionCommands so
that input exception sections like .ARM.exidx and .eh_frame are not
assigned to OutputSections. Unfortunately if /DISCARD/ removes
InputSections that have associated .ARM.exidx sections without
discarding the .ARM.exidx synthetic section then we will end up crashing
when trying to sort the InputSections in ascending address order.
We fix this by filtering out the sections that have been discarded prior
to processing the InputSections in finalizeContents().
fixes pr42890
Differential Revision: https://reviews.llvm.org/D65759
llvm-svn: 368041
The file was addedlld/test/ELF/arm-exidx-partial-discard.s
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit 5a0794327a6756ec904dfdc1d8015d510ee49526 by tpr.llvm
[StructurizeCFG] Enable -structurizecfg-relaxed-uniform-regions by
default
D62198 introduced an option to relax the checks for
hasOnlyUniformBranches. This commit turns the option on by default, for
better code generation in some cases in AMDGPU.
Differential Revision: https://reviews.llvm.org/D63198
Change-Id: I9cbff002a1e74d3b7eb96b4192dc8129936d537d llvm-svn: 368042
The file was modifiedllvm/test/CodeGen/AMDGPU/control-flow-optnone.ll
The file was modifiedllvm/lib/Transforms/Scalar/StructurizeCFG.cpp
Commit dae5ddad9d1954c44a51c4b7bc8be1a5fb61a203 by llvm-dev
[TargetLowering] SimplifyMultipleUseDemandedBits - return UNDEF for
undemanded ops
If we demand no bits/elts from an Op, just return UNDEF
llvm-svn: 368043
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
The file was modifiedllvm/test/CodeGen/X86/packss.ll
The file was modifiedllvm/test/CodeGen/X86/vector-idiv-udiv-128.ll
Commit c92b951567f286277cc1bae3ba1221e742e1a215 by grimar
[test/Object] - Cleanup the Object\obj2yaml.test a bit.
This makes 2 changes:
1) Removes unwind-section.elf-x86-64 object and the corresponding test
case, because SHT_X86_64_UNWIND is already tested here:
https://github.com/llvm-mirror/llvm/blob/master/test/tools/obj2yaml/section-type.yaml
2) Removes/partially moves "No such file or directory" test, because we
already have a similar test here:
https://github.com/llvm-mirror/llvm/blob/master/test/tools/obj2yaml/invalid_input_file.test
Differential revision: https://reviews.llvm.org/D65570
llvm-svn: 368044
The file was modifiedllvm/test/tools/obj2yaml/invalid_input_file.test
The file was removedllvm/test/Object/Inputs/unwind-section.elf-x86-64
The file was modifiedllvm/test/Object/obj2yaml.test
Commit fc34a536d04a6941c0783098e71f10b1f616120d by hubert.reinterpretcast
[XCOFF][MC] report_fatal_error before dereferencing NULL
This patch replaces a TODO comment with a call to `report_fatal_error`.
The path that reaches the added call to `report_fatal_error` manifestly
dereferences a null pointer.
llvm-svn: 368048
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
Commit ad7e95df5ac35d304303c38bd3d3afc478e9aa63 by sander.desmalen
[AArch64] NFC: Generalize emitFrameOffset to support more than byte
offsets.
Refactor emitFrameOffset to accept a StackOffset struct as its offset
argument. This method currently only supports byte offsets (MVT::i8) but
will be extended in a later patch to support scalable offsets
(MVT::nxv1i8) as well.
Reviewers: thegameg, rovka, t.p.northover, efriedma, greened
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D61436
llvm-svn: 368049
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Commit 51b0032ff70124b3ab05aa07c7f2d7f903533856 by hubert.reinterpretcast
[CMake] Add mapping for IBM XL -qnoeh and -qnortti
Summary: This patch maps in the `-qnoeh` and `-qnortti` options for
building with IBM XL compilers.
Reviewers: daltenty, xingxue, jasonliu
Reviewed By: daltenty
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65669
llvm-svn: 368050
The file was modifiedllvm/cmake/modules/AddLLVM.cmake