FailedChanges

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

Summary

  1. [MachineOutliner] Fix uninitialized variable warnings. NFCI. (details)
  2. [MCObjectFileInfo] Fix uninitialized variable warnings. NFCI. (details)
  3. Fix uninitialized variable warning. NFCI. (details)
  4. [LV] Apply sink-after & interleave-groups as VPlan transformations (NFC) (details)
  5. [OPENMP]Improve diagnostics for unsupported unified addressing. (details)
  6. [DFAPacketizer] Allow up to 64 functional units (details)
  7. [lldb] [Python] Build readline override module only on Linux (details)
  8. [ARM] Multi-vector MVE spill test (details)
  9. [llvm-objcopy][ELF] Add OriginalType & OriginalFlags (details)
  10. [llvm-objcopy][ELF] Implement --only-keep-debug (details)
  11. [Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML (details)
  12. [MachineOutliner] Reduce scope of variable and stop duplicate getMF() (details)
  13. Use iterator prefix increment. NFCI. (details)
  14. Remove redundant assignment. NFCI. (details)
  15. Revert "[Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML" (details)
  16. [JumpThreading] Factor out code to merge basic blocks (NFC) (details)
  17. [globalisel][docs] Add KnownBits Analysis documentation (details)
  18. [SLP] - Add couple safety checks to TreeEntry::dump(). NFC (details)
  19. [hip] Enable pointer argument lowering through coercing type. (details)
  20. [lldb] Fix Python 3 incompatibility in API/lit.cfg.py (details)
  21. [clangd] Implement semantic highlightings via findExplicitReferences (details)
  22. [AMDGPU] return Fail instead of SolfFail from addOperand() (details)
  23. [globalisel] Rename G_GEP to G_PTR_ADD (details)
  24. [X86] Specifically limit fmin/fmax commutativity to NoNaNs + (details)
  25. [dexter] Remove lit check for python 3 (details)
  26. [dexter] Fix feature tests on Windows (details)
  27. ValueObject: Upstream early-exit from swift-lldb. (NFC) (details)
  28. [AMDGPU] Removed dead code handling M0CopyReg (details)
  29. [lit] Fix `not` calling internal commands (details)
  30. [llvm-objdump] Fix spurious "The end of the file was unexpectedly (details)
  31. [HIP] Fix visibility for 'extern' device variables. (details)
  32. [X86/Atomics] (Semantically) revert G246098, switch back to the old (details)
Commit c7f127d93f4bc694737081501c65ffa37fd1da50 by llvm-dev
[MachineOutliner] Fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/CodeGen/MachineOutliner.h
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
Commit dec21e445142c26a68441b7c75fb75a7e03db754 by llvm-dev
[MCObjectFileInfo] Fix uninitialized variable warnings. NFCI.
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
Commit 95a25d8883365c26999496400a75df83e577e0de by llvm-dev
Fix uninitialized variable warning. NFCI.
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
Commit 100e797adb433724a17c9b42b6533cd634cb796b by gil.rapaport
[LV] Apply sink-after & interleave-groups as VPlan transformations (NFC)
This recommits 2be17087f8c38934b7fc9208ae6cf4e9b4d44f4b (reverted in
d3ec06d219788801380af1948c7f7ef9d3c6100b for heap-use-after-free) with a
fix in IAI's reset() which was not clearing the set of interleave groups
after deleting them.
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Commit 7b710a4294c1baed0157d86d3e2dabac78c306ce by a.bataev
[OPENMP]Improve diagnostics for unsupported unified addressing.
Improved diagnostics for better user experience.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/test/OpenMP/requires_codegen.cpp
Commit 39525a6723854e9920b2560aadaa399cfbbd006a by James Molloy jmolloy
[DFAPacketizer] Allow up to 64 functional units
Summary: To drive the automaton we used a uint64_t as an action type.
This contained the transition's resource requirements as a conjunction:
  (a OR b) AND (b OR c)
We encoded this conjunction as a sequence of four 16-bit bitmasks. This
limited the number of addressable functional units to 16, which is quite
low and has bitten many people in the past.
Instead, the DFAEmitter now generates a lookup table from InstrItinerary
class (index of the ItinData inside the ProcItineraries) to an internal
action index which is essentially a dense embedding of the conjunctive
form. Because we never materialize the conjunctive form, we no longer
have the 16 FU restriction.
In this patch we limit to 64 functional units due to using a uint64_t
bitmask in the DFAEmitter. Now that we've decoupled these
representations we can increase this in future.
Reviewers: ThomasRaoux, kparzysz, majnemer
Reviewed By: ThomasRaoux
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69110
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
Commit df3ae1eb296d5193232649b5f282dfc4f01ba61f by mgorny
[lldb] [Python] Build readline override module only on Linux
Restrict building the readline override to Linux only.  It both does not
build on *BSD systems, and is largely irrelevant since they default to
using libedit over readline anyway.  This restores the behavior of the
old readline override that also was built only on Linux.
Differential Revision: https://reviews.llvm.org/D69846
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
Commit 03bf229bd44df4bbbc02c3512a095f5ed075f9da by david.green
[ARM] Multi-vector MVE spill test
This is a test from D67169, that can now be added after the vld2
intrinsics were committed upstream.
The file was addedllvm/test/CodeGen/Thumb2/mve-multivec-spill.ll
Commit ade55d07871040d0e75b94e3d3a1eaecbd704d36 by maskray
[llvm-objcopy][ELF] Add OriginalType & OriginalFlags
`llvm::objcopy::elf::*Section::classof` matches Type and Flags, yet Type
and Flags are mutable (by setSectionFlagsAndTypes and upcoming
--only-keep-debug feature). Add OriginalType & OriginalFlags to be used
in classof, to prevent classof results from changing.
Reviewed By: jakehehrlich, jhenderson, alexshap
Differential Revision: https://reviews.llvm.org/D69739
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
Commit 5ad0103d8a04cb066dfae4fc20b0dfcd9413f4d4 by maskray
[llvm-objcopy][ELF] Implement --only-keep-debug
--only-keep-debug produces a debug file as the output that only
preserves contents of sections useful for debugging purposes (the
binutils implementation preserves SHT_NOTE and non-SHF_ALLOC sections),
by changing their section types to SHT_NOBITS and rewritting file
offsets.
See https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html
The intended use case is:
``` llvm-objcopy --only-keep-debug a a.dbg llvm-objcopy --strip-debug a
b llvm-objcopy --add-gnu-debuglink=a.dbg b
```
The current layout algorithm is incapable of deleting contents and
shrinking segments, so it is not suitable for implementing the
functionality.
This patch adds a new algorithm which assigns sh_offset to sections
first, then modifies p_offset/p_filesz of program headers. It bears a
resemblance to lld/ELF/Writer.cpp.
Reviewed By: jhenderson, jakehehrlich
Differential Revision: https://reviews.llvm.org/D67137
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst
The file was removedllvm/test/tools/llvm-objcopy/ELF/basic-only-keep-debug.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.h
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was addedllvm/test/tools/llvm-objcopy/ELF/only-keep-debug.test
The file was modifiedllvm/tools/llvm-objcopy/CommonOpts.td
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
Commit bc496677d0ecc24e4372b714849b5ecc8636b3a8 by Steven Wu
[Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML
Rewrite one of the invalid macho test input file with YAML file. The
original invalid macho is breaking our internal test infrastusture
because it is too broken to be copy around.
rdar://problem/56879982
The file was removedllvm/test/Object/Inputs/macho-invalid-fat-arch-size
The file was addedllvm/test/Object/Inputs/macho-invalid-fat-arch-size.yaml
The file was modifiedllvm/test/Object/macho-invalid.test
Commit 7ad258361357e4b49c33ff39ce8abdcdf747c702 by llvm-dev
[MachineOutliner] Reduce scope of variable and stop duplicate getMF()
calls. NFCI.
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
Commit 76166a1ac7140bb1b577f198c95cb7e9dd67a10b by llvm-dev
Use iterator prefix increment. NFCI.
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
Commit 117e6dd6cc2d566f012221fce48a9c21cecdac8f by llvm-dev
Remove redundant assignment. NFCI.
Fixes cppcheck warning.
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
Commit e64f7bfefe4f1e8b1d4fb4af8a1633f06b56640a by Steven Wu
Revert "[Object][MachO] Rewrite macho-invalid-fat-arch-size into YAML"
The invalid binary trying to construct triggers an assertion.
The file was removedllvm/test/Object/Inputs/macho-invalid-fat-arch-size.yaml
The file was modifiedllvm/test/Object/macho-invalid.test
The file was addedllvm/test/Object/Inputs/macho-invalid-fat-arch-size
Commit 893afb9ca148e41404679e1755b31129107ba5e8 by kazu
[JumpThreading] Factor out code to merge basic blocks (NFC)
Summary: This patch factors out code to merge a basic block with its
sole successor -- partly for readability and partly to facilitate an
upcoming patch of my own.
Reviewers: wmi
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69852
The file was modifiedllvm/include/llvm/Transforms/Scalar/JumpThreading.h
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
Commit 312932a33463c6636e2217556400351bdec9d8cf by daniel_l_sanders
[globalisel][docs] Add KnownBits Analysis documentation
Summary: This is largely based off of the slides from the keynote
Depends on D69545
Reviewers: volkan, rovka, arsenm
Subscribers: wdng, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69644
The file was addedllvm/docs/GlobalISel/KnownBits.rst
The file was modifiedllvm/docs/GlobalISel/index.rst
Commit 82588e05cc32bb30807e480abd4e689b0dee132a by serguei.n.dmitriev
[SLP] - Add couple safety checks to TreeEntry::dump(). NFC
Summary: Check for MainOp and AltOp for NULL before dereferencing or
issue NULL.
Reviewers: Vasilis, dtemirbulatov, RKSimon, ABataev
Reviewed By: ABataev
Subscribers: mehdi_amini, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69812
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 15140e4bacf94fbc509e5a139909aefcd1cc3363 by michael.hliao
[hip] Enable pointer argument lowering through coercing type.
Reviewers: tra, rjmccall, yaxunl
Subscribers: jvesely, nhaehnle, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69826
The file was addedclang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit a9970036d43b4fb8622d7179603722b539756457 by Jonas Devlieghere
[lldb] Fix Python 3 incompatibility in API/lit.cfg.py
This code path is only taken on the sanitized bot, where it caused a
TypeError: "Can't mix strings and bytes in path components".
The file was modifiedlldb/test/API/lit.cfg.py
Commit 87e0cb4f1ad299c87c3e26676a9b31b3caf58921 by ibiryukov
[clangd] Implement semantic highlightings via findExplicitReferences
Summary: To keep the logic of finding locations of interesting AST nodes
in one place.
The advantage is better coverage of various AST nodes, both now and in
the future: as new nodes get added to `findExplicitReferences`, semantic
highlighting will automatically pick them up.
The drawback of this change is that we have to traverse declarations
inside our file twice in order to highlight dependent names, 'auto' and
'decltype'. Hopefully, this should not affect the actual latency too
much, most time should be spent in building the AST and not traversing
it.
Reviewers: hokein
Reviewed By: hokein
Subscribers: nridge, merge_guards_bot, MaskRay, jkorous, arphaman,
kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69673
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.h
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit de56a890725713dffc4ab5bf5fb2f434df27ed4d by Stanislav.Mekhanoshin
[AMDGPU] return Fail instead of SolfFail from addOperand()
addOperand() method of AMDGPU disassembler returns SoftFail on error.
All instances which may lead to that place are an impossible encdoing,
not something which is possible to encode, but semantically incorrect as
described for SoftFail.
Then tablegen generates a check of the following form:
if (Decode...(..) == MCDisassembler::Fail) { return
MCDisassembler::Fail; }
Since we can only return Success and SoftFail that is dead code as
detected by the static code analyzer.
Solution: return Fail as it should be.
See https://bugs.llvm.org/show_bug.cgi?id=43886
Differential Revision: https://reviews.llvm.org/D69819
The file was addedllvm/test/MC/Disassembler/AMDGPU/decode-err.txt
The file was modifiedllvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
Commit e74c5b96610dfb03825d31035f50813af58beac5 by daniel_l_sanders
[globalisel] Rename G_GEP to G_PTR_ADD
Summary: G_GEP is rather poorly named. It's a simple pointer+scalar
addition and doesn't support any of the complexities of getelementptr. I
therefore propose that we rename it. There's a G_PTR_MASK so let's
follow that convention and go with G_PTR_ADD
Reviewers: volkan, aditya_nandakumar, bogner, rovka, arsenm
Subscribers: sdardis, jvesely, wdng, nhaehnle, hiraditya, jrtc27,
atanasyan, arphaman, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69734
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/thumb-select-load-store.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomic-cmpxchg-local.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-private.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-scalar.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ptr-add.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/var_arg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-store.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-global.mir
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/var_arg.mir
The file was addedllvm/test/MachineVerifier/test_g_ptr_add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/irtranslator-varargs-lowering.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-vaarg.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-gep.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was addedllvm/test/CodeGen/X86/GlobalISel/legalize-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was removedllvm/test/MachineVerifier/test_g_gep.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-fadd-local.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/select-memop-scalar-unordered.mir
The file was addedllvm/test/CodeGen/X86/GlobalISel/select-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-load-store.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/load_store_fold.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-undef.mir
The file was removedllvm/test/CodeGen/X86/GlobalISel/legalize-gep.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-flat.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-local.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was addedllvm/test/CodeGen/X86/GlobalISel/ptr-add.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/var_arg.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/long_ambiguous_chain_s32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-flat.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
The file was modifiedllvm/lib/Target/X86/X86LegalizerInfo.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/translate-gep.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/load.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant-32bit.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/load-addressing-modes.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
The file was removedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-gep.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/store-addressing-modes.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir
The file was modifiedllvm/lib/Target/ARM/ARMInstructionSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMRegisterBankInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-memop-scalar-32.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memset.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-xchg-local.mir
The file was removedllvm/test/CodeGen/X86/GlobalISel/gep.ll
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/legalize-gep.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/aggregate_struct_return.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-cse.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/stack_args.ll
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-addrspacecast.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/stack_args.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/stack_args.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/extend_args.ll
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/stack_args.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-flat.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/sret_pointer.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/var_arg.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator-ios.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/store.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-phi-insertpt-decrement.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was removedllvm/test/CodeGen/X86/GlobalISel/select-gep.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-local.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/long_ambiguous_chain_s64.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-gep.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/combiner-load-store-indexing.ll
The file was modifiedllvm/lib/Target/ARM/ARMLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-vfp4.mir
The file was modifiedllvm/include/llvm/Support/TargetOpcodes.def
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
The file was modifiedllvm/lib/Target/Mips/MipsCallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-private.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-small-memcpy.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-ptr-add.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-load.mir
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir
Commit 00e53d912dd768047a4fdc6e0e9b3ac7f0bcc5e5 by benny.kra
[X86] Specifically limit fmin/fmax commutativity to NoNaNs +
NoSignedZeros
The backend UnsafeFPMath flag is not a superset of all the others, so
limit it to the exact bits needed.
The file was modifiedllvm/test/CodeGen/X86/avx512-unsafe-fp-math.ll
The file was modifiedllvm/test/CodeGen/X86/sse-minmax.ll
The file was modifiedllvm/test/CodeGen/X86/machine-combiner.ll
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-avx512.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7035ea6e3e4371fff223a3a8f660ec149a954876 by rnk
[dexter] Remove lit check for python 3
This is checking the version of Python used to run lit, which is not
necessarily the same as the version used to run the dexter tests.  If
the tests are run via the build/bin/llvm-lit[.py] helper script, then
that is likely to pick up whatever version of Python is on PATH.
Conventionally, this will find Python 2. CMake already checks that
Python 3 is in use and puts the path to it in the lit site config, so
this check is redundant, and Python 3 will ultimately be used to run
dexter.
Reviewers: jmorse
Differential Revision: https://reviews.llvm.org/D69724
The file was modifieddebuginfo-tests/dexter/feature_tests/lit.local.cfg
Commit 63f49465c3268e59ce2dc02345da187393adabd7 by rnk
[dexter] Fix feature tests on Windows
First, add LLD as a dependency on Windows. The windows batch scripts
pass -fuse-ld=lld, so they need it.
Second, decode builder stdout/stderr even if the command fails.
Otherwise it gets printed as b'line 1\n\rline 2\n\r'.
Last, make the batch script one line less noisy. We might want to try to
do more here, though. It would be nice if we could get as close to
possible as lit, where you can literally copy & paste the failing
command to re-run it.
With the two changes above, now the feature tests that use clang++.bat
pass for me. The clang-cl_vs2015 ones still fail, and I'll fix them
separately.
Reviewers: jmorse
Differential Revision: https://reviews.llvm.org/D69725
The file was modifieddebuginfo-tests/CMakeLists.txt
The file was modifieddebuginfo-tests/dexter/dex/builder/Builder.py
The file was modifieddebuginfo-tests/dexter/dex/builder/scripts/windows/clang.bat
Commit 3606b567849a935ef6bf627dec2e6100a8f25c4b by Adrian Prantl
ValueObject: Upstream early-exit from swift-lldb. (NFC)
The file was modifiedlldb/source/Core/Value.cpp
Commit 4f12ba50bb28a1bf5c5131dcdf84121f04b0e584 by Stanislav.Mekhanoshin
[AMDGPU] Removed dead code handling M0CopyReg
Static analyzer complains about always false condition. See
https://bugs.llvm.org/show_bug.cgi?id=43886
Differential Revision: https://reviews.llvm.org/D69860
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit f1b4c4bfd0b55c3c0abbc73e1159117f8533aca3 by jdenny.ornl
[lit] Fix `not` calling internal commands
Without this patch, when using lit's internal shell, if `not` on a lit
RUN line calls `env`, `diff`, or any of the other in-process shell
builtins that lit implements, lit accidentally searches for the latter
as an external executable.  What's worse is that works fine when a
developer is testing on a platform where those executables are available
and behave as expected, but it then breaks on other platforms.
`not` seems useful for some builtins, such as `diff`, so this patch
supports such uses.  `not --crash` does not seem useful for builtins, so
this patch diagnoses such uses.  In all cases, this patch ensures shell
builtins are found behind any sequence of `env` and `not` commands.
`not` calling `env` calling an external command appears useful when the
`env` and external command are part of a lit substitution, as in D65156.
This patch supports that by looking through any sequence of
`env` and `not` commands, building the environment from the `env`s, and
storing the `not`s.  The `not`s are then added back to the command line
without the `env`s to execute externally.  This avoids the need to
replicate the `not` implementation, in particular the `--crash` option,
in lit.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D66531
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-echo.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-args-nested-none.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-export.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/fail.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-rm.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-calls-not-builtin.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/lit.cfg
The file was modifiedllvm/utils/lit/tests/shtest-env.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-external.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-env-builtin.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-args-last-is-crash.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-diff-with-crash.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-diff.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-mkdir.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/print_environment.py
The file was addedllvm/utils/lit/tests/shtest-not.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-args-none.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-colon.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/not-calls-cd.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-not/pass.py
Commit 6cd47f9dd7dd664ff855fb0d1ed26bf5e4bb77fc by maskray
[llvm-objdump] Fix spurious "The end of the file was unexpectedly
encountered" if a SHT_NOBITS sh_offset is larger than the file size
llvm-objdump -D this file:
  int a[100000];
int main() { return 0; }
Will produce an error: "The end of the file was unexpectedly
encountered".
This happens because of a check in Binary.h checkOffset.  (Addr + Size >
M.getBufferEnd()).
The sh_offset and sh_size fields can be ignored for SHT_NOBITS sections.
Fix the error by changing ELFObjectFile<ELFT>::getSectionContents to use
the file base for SHT_NOBITS sections.
Reviewed By: grimar, MaskRay
Differential Revision: https://reviews.llvm.org/D69192
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was addedllvm/test/tools/llvm-objdump/X86/elf-disassemble-bss.test
Commit 0a220de9e9ca3e6786df6c03fd37668815805c62 by michael.hliao
[HIP] Fix visibility for 'extern' device variables.
Summary:
- Fix a bug which misses the change for a variable to be set with
target-specific attributes.
Reviewers: yaxunl
Subscribers: jvesely, nhaehnle, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D63020
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGenCUDA/amdgpu-visibility.cu
Commit 027aa27d95c165cb4afa2c0b43b22b729d989755 by listmail
[X86/Atomics] (Semantically) revert G246098, switch back to the old
atomic example
When writing an email for a follow up proposal, I realized one of the
diffs in the committed change was incorrect.  Digging into it revealed
that the fix is complicated enough to require some thought, so reverting
in the meantime.
The problem is visible in this diff (from the revert):
; X64-SSE-LABEL: store_fp128:
; X64-SSE:       # %bb.0:
-; X64-SSE-NEXT:    movaps %xmm0, (%rdi)
+; X64-SSE-NEXT:    subq $24, %rsp
+; X64-SSE-NEXT:    .cfi_def_cfa_offset 32
+; X64-SSE-NEXT:    movaps %xmm0, (%rsp)
+; X64-SSE-NEXT:    movq (%rsp), %rsi
+; X64-SSE-NEXT:    movq {{[0-9]+}}(%rsp), %rdx
+; X64-SSE-NEXT:    callq __sync_lock_test_and_set_16
+; X64-SSE-NEXT:    addq $24, %rsp
+; X64-SSE-NEXT:    .cfi_def_cfa_offset 8
; X64-SSE-NEXT:    retq
  store atomic fp128 %v, fp128* %fptr unordered, align 16
  ret void
The problem here is three fold: 1) x86-64 doesn't guarantee atomicity of
anything larger than 8 bytes.  Some platforms observably break this
guarantee, others don't, but the codegen isn't considering this, so it's
wrong on at least some platforms. 2) When I started to track down the
problem, I discovered that DAGCombiner had stripped the atomicity off
the store entirely.  This comes down to idiomatic usage of DAG.getStore
passing all MMO components separately as opposed to just passing the
MMO. 3) On x86 (not -64), there are cases where 8 byte atomiciy is
supported, but only for floating point operations.  This would seem to
imply that operation typing matters for correctness, and DAGCombine
happily folds away bitcasts.  I'm not 100% sure there's a problem here,
but I'm not entirely sure there isn't either.
I plan on returning to each issue in turn;  sorry for the churn here.
The file was modifiedllvm/test/CodeGen/X86/combineIncDecVector-crash.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer-fp128.ll
The file was modifiedllvm/test/CodeGen/X86/atomic-non-integer.ll