FailedChanges

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

Summary

  1. Use labmaster llvm-project in common.groovy for CTMark/test suite jobs (details)
Commit 422f3180f7ad75ae9ab284e8973a02f74838bc49 by Jessica Paquette
Use labmaster llvm-project in common.groovy for CTMark/test suite jobs
It should be faster than checking out the monorepo sources from GitHub.
llvm-svn: 367720
The file was modifiedzorg/jenkins/common.groovy

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

Summary

  1. [Test] Demonstrate a realignment bug missed in r366765 (details)
  2. [ScalarizeMaskedMemIntrin] Add constant mask support to expandload and (details)
  3. [ORC] Remove a dead method. (details)
  4. hwasan: Remove unused field CurModuleUniqueId. NFCI. (details)
  5. [Statepoints] Fix overalignment of loads in no-realign-stack functions (details)
  6. Use MCRegister in MCRegisterInfo's interfaces (details)
  7. [TargetLowering] SimplifyMultipleUseDemandedBits - don't assume (details)
  8. Add benchmarks to test the cost of allocator (details)
  9. [AArch64][GlobalISel] Eliminate redundant G_ZEXT when the source is (details)
  10. [BPF] annotate DIType metadata for builtin preseve_array_access_index() (details)
  11. [Attributor] Using liveness in other attributes. (details)
  12. Fix ClangASTContext::CreateParameterDeclaration to not call addDecl (details)
  13. Remove support for unsupported MSVC versions (details)
  14. Revert "Remove support for unsupported MSVC versions" (details)
  15. [clang-doc] Add flag to continue after mapping errors (details)
  16. [lit] Fix 42812: lit test suite can no longer be run stand-alone (details)
  17. Revert Fix and test inter-procedural register allocation for ARM (details)
  18. [PowerPC][NFC][MachinePipeliner] Add some regression testcases (details)
  19. The MinGW linker supports response files (details)
  20. Remove support for unsupported MSVC versions (details)
  21. [BPF] Handling type conversions correctly for CO-RE (details)
  22. [X86] Use the pointer VT for the Scale node when lowering x86 (details)
  23. [GlobalISel] Check LLT size matches memory size for non-truncating (details)
  24. [ScalarizeMaskedMemIntrin] Bitcast the mask to the scalar domain and use (details)
  25. Re-commit "[GlobalISel] Add legalization support for non-power-2 loads (details)
  26. Add brackets to remove warnings about ambiguous 'else's. (details)
  27. Temporarily Revert "[PowerPC][NFC][MachinePipeliner] Add some regression (details)
  28. [ORC] Remove some old debugging output from a unit test. (details)
  29. [clang-doc] Update documentation (details)
  30. MCRegister/Register: DenseMapInfo should take `const T &` (details)
  31. [ELF] Move R_*_IRELATIVE from .rel[a].plt to .rel[a].dyn unless (details)
  32. Add OMPT support for teams construct (details)
  33. [InstSimplify] Add test case to show bad sign bit handling for integer (details)
  34. [Attributor] Fix dereferenceable callsite argument initialization (details)
  35. Simplify <type_traits> implementations. (details)
Commit 5f8e570b3ce82662e40ee35edf067e8e2e4cc57a by listmail
[Test] Demonstrate a realignment bug missed in r366765
llvm-svn: 367714
The file was modifiedllvm/test/CodeGen/X86/statepoint-no-realign-stack.ll
Commit de9b1d791276449cdf9fa5b406d9e7bdd352cfa9 by craig.topper
[ScalarizeMaskedMemIntrin] Add constant mask support to expandload and
compressstore scalarization
This adds support for generating all the loads or stores for a constant
mask into a single basic block with no conditionals.
Differential Revision: https://reviews.llvm.org/D65613
llvm-svn: 367715
The file was modifiedllvm/test/CodeGen/X86/masked_compressstore.ll
The file was modifiedllvm/test/CodeGen/X86/pr40994.ll
The file was modifiedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-compressstore.ll
The file was modifiedllvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
The file was modifiedllvm/test/CodeGen/X86/pr39666.ll
The file was modifiedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.ll
The file was modifiedllvm/test/CodeGen/X86/masked_expandload.ll
Commit 10430f41743475e38997648b894511800aae146b by Lang Hames
[ORC] Remove a dead method.
llvm-svn: 367716
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
Commit 196931a7dd0ae09a8cec7261d59dba28b23a4e3c by peter
hwasan: Remove unused field CurModuleUniqueId. NFCI.
llvm-svn: 367717
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Commit 511be2a158907c99ee3309e43e3d2a1031c83701 by listmail
[Statepoints] Fix overalignment of loads in no-realign-stack functions
This really should have been part of 366765.  For some reason, I forgot
to handle the corresponding load side, and the readable test cases
(using deopt vs statepoints) turned out to be overly reduced.  Oops.
As seen in the test change, the problem was that we were using a load
with alignment expectations rather than the unaligned variant when the
stack alignment was less than that prefered type alignment.
llvm-svn: 367718
The file was modifiedllvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/statepoint-no-realign-stack.ll
Commit e7694f34ab6a12b8bb480cbfcb396d0a64fe965f by daniel_l_sanders
Use MCRegister in MCRegisterInfo's interfaces
Summary: As part of this, define DenseMapInfo for MCRegister (and
Register while I'm at it)
Depends on D65599
Reviewers: arsenm
Subscribers: MatzeB, qcolombet, jvesely, wdng, nhaehnle, hiraditya,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65605
llvm-svn: 367719
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/CodeGen/CalcSpillWeights.cpp
The file was modifiedllvm/include/llvm/CodeGen/Register.h
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
The file was modifiedllvm/include/llvm/MC/MCRegister.h
The file was modifiedllvm/include/llvm/MC/MCRegisterInfo.h
The file was modifiedllvm/lib/Target/Hexagon/BitTracker.cpp
The file was modifiedllvm/lib/MC/MCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Commit 794f7591ecaa38c32a2452c870a8e7b3e1506191 by llvm-dev
[TargetLowering] SimplifyMultipleUseDemandedBits - don't assume
INSERT_VECTOR_ELT value type is simple.
Noticed by inspection - this was copied from the X86 target equivalent
where we can assume its legal/simple.
llvm-svn: 367721
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit c4952da40109ad73cb50225cdd28a55161c64111 by eric
Add benchmarks to test the cost of allocator
llvm-svn: 367722
The file was modifiedlibcxx/benchmarks/CMakeLists.txt
The file was addedlibcxx/benchmarks/allocation.bench.cpp
Commit 73752abeab1a1ce5d44ed3c4c6ac78a4a00be6ed by aemerson
[AArch64][GlobalISel] Eliminate redundant G_ZEXT when the source is
implicitly zext-loaded.
These cases can come up when the extending loads combiner doesn't
combine a zext(load) to a zextload op, due to some other operation being
in between, which then gets simplified at a later stage.
Differential Revision: https://reviews.llvm.org/D65360
llvm-svn: 367723
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-zextload.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-redundant-zext-of-load.mir
Commit d0ea05d5eff475a27a5d3bbe4d9fd389935f9cb2 by yhs
[BPF] annotate DIType metadata for builtin preseve_array_access_index()
Previously, debuginfo types are annotated to IR builtin
preserve_struct_access_index() and preserve_union_access_index(), but
not preserve_array_access_index(). The debug info is useful to identify
the root type name which later will be used for type comparison.
For user access without explicit type conversions, the previous scheme
works as we can ignore intermediate compiler generated type conversions
(e.g., from union types to union members) and still generate correct
access index string.
The issue comes with user explicit type conversions, e.g., converting an
array to a structure like below:
struct t { int a; char b[40]; };
struct p { int c; int d; };
struct t *var = ...;
... __builtin_preserve_access_index(&(((struct p *)&(var->b[0]))->d))
... Although BPF backend can derive the type of &(var->b[0]), explicit
type annotation make checking more consistent and less error prone.
Another benefit is for multiple dimension array handling. For example,
struct p { int c; int d; } g[8][9][10];
... __builtin_preserve_access_index(&g[2][3][4].d) ... It would be
possible to calculate the number of "struct p"'s before accessing its
member "d" if array debug info is available as it contains each
dimension range.
This patch enables to annotate IR builtin preserve_array_access_index()
with proper debuginfo type. The unit test case and language reference is
updated as well.
Signed-off-by: Yonghong Song <yhs@fb.com>
Differential Revision: https://reviews.llvm.org/D65664
llvm-svn: 367724
The file was addedclang/test/CodeGen/builtin-preserve-access-index-array.c
The file was modifiedllvm/test/CodeGen/BPF/CORE/intrinsic-array.ll
The file was modifiedclang/test/CodeGen/builtin-preserve-access-index.c
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
Commit d021617bf7e1a34ac8f8d25146bea1af97580e3b by sstipanovic
[Attributor] Using liveness in other attributes.
Modifying other AbstractAttributes to use Liveness AA and skip dead
instructions.
Reviewers: jdoerfert, uenoku
Subscribers: hiraditya, llvm-commits
Differential revision: https://reviews.llvm.org/D65243
llvm-svn: 367725
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
Commit fa5c340ea12e5f5b217246767190d32ccb7df54a by syaghmour
Fix ClangASTContext::CreateParameterDeclaration to not call addDecl
Summary: The change https://reviews.llvm.org/D55575 modified
ClangASTContext::CreateParameterDeclaration to call
decl_ctx->addDecl(decl); this caused a regression since the existing
code in DWARFASTParserClang::ParseChildParameters is called with the
containing DeclContext. So when end up with cases where we are parsing a
parameter for a member function and the parameter is added to the
CXXRecordDecl as opposed to the CXXMethodDecl. This example is given in
the regression test TestBreakpointInMemberFuncWNonPrimitiveParams.py
which without this fix in a modules build leads to assert on setting a
breakpoint in a member function with non primitive parameters. This
scenario would be common when debugging LLDB or clang.
Differential Revision: https://reviews.llvm.org/D65414
llvm-svn: 367726
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/a.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/module.modulemap
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/TestBreakpointInMemberFuncWNonPrimitiveParams.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint_in_member_func_w_non_primitive_params/a.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
Commit dc8af80c190e86a2562b2edf9ca91ca44912e6b6 by JF Bastien
Remove support for unsupported MSVC versions
Reviewers: rnk, lebedev.ri
Subscribers: hiraditya, jkorous, dexonsmith, lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65662
llvm-svn: 367727
The file was modifiedllvm/lib/Support/Windows/explicit_symbols.inc
The file was modifiedllvm/include/llvm/Demangle/DemangleConfig.h
The file was modifiedllvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
Commit 21d01ea9b6f106371a131fd4676e798ff6382aab by JF Bastien
Revert "Remove support for unsupported MSVC versions"
Mismatched preprocessor, I'll fix in a follow-up.
llvm-svn: 367728
The file was modifiedllvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
The file was modifiedllvm/include/llvm/Demangle/DemangleConfig.h
The file was modifiedllvm/lib/Support/Windows/explicit_symbols.inc
Commit 8fb7074d3b2831dd3ad812585f9f82d015d041da by diegoaat97
[clang-doc] Add flag to continue after mapping errors
The tool used to stop execution if there was an error in the mapping
phase. It will now show the error but continue with the files that were
mapped correctly if the flag is true.
Differential revision: https://reviews.llvm.org/D65627
llvm-svn: 367729
The file was modifiedclang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Commit df1b00a7cb1640c9d4bcb8456d07268266db1175 by stilis
[lit] Fix 42812: lit test suite can no longer be run stand-alone
Summary: This change updates the lit.cfg file to use llvm_config when it
is available, but when it is not, it directly modifies the config
object. This makes it possible to run the lit tests standalone without
having built llvm (as long as the correct binaries are present in the
path such as FileCheck and not).
Because the lit tests don't take a hard dependency on llvm_config, some
features such as system-windows have to have definitions in lit's cfg
file as well. This is a potential issue as the os features sometimes
change names (for example, we went from windows to system-windows,
etc.). This can cause drift between lit's tests and the rest of the llvm
tests.
Reviewers: probinson, mgorny
Reviewed By: mgorny
Subscribers: delcypher, llvm-commits, asmith
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65674
llvm-svn: 367730
The file was modifiedllvm/utils/lit/tests/lit.cfg
Commit 42618b270d32d6cfbe539cc0c534eb6a9fa6b36b by douglas.yung
Revert Fix and test inter-procedural register allocation for ARM
This reverts r367669 (git commit
f6b00c279a5587a25876752a6ecd8da0bed959dc)
This was breaking a build bot
http://lab.llvm.org:8011/builders/netbsd-amd64/builds/21233
llvm-svn: 367731
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.h
The file was removedllvm/test/CodeGen/ARM/ipra.ll
The file was modifiedllvm/lib/CodeGen/RegUsageInfoCollector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetRegisterInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
Commit 81a05cb9bcc5cbdbd9988992f61a344c70df30cf by Jinsong Ji
[PowerPC][NFC][MachinePipeliner] Add some regression testcases
Exposed by refactoring in https://reviews.llvm.org/D64665.
llvm-svn: 367732
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-1.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-cpy-1.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-2.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-5.ll
The file was addedllvm/test/CodeGen/PowerPC/sms-phi-3.ll
Commit e6ef4f98d28933bf300d709e4dbffc6929748aa6 by rnk
The MinGW linker supports response files
This affects both LLD and ld.bfd.
This isn't testable with a normal driver test with -### because those
command lines are printed before response file setup. I tested manually
and confirmed it seems to do the right thing.
llvm-svn: 367733
The file was modifiedclang/lib/Driver/ToolChains/MinGW.h
Commit 748dac7389bd9834c4de4ee9cf3fc7937f30bf47 by JF Bastien
Remove support for unsupported MSVC versions
Re-land r367727 with the #if fixed.
Reviewers: rnk, lebedev.ri
Subscribers: hiraditya, jkorous, dexonsmith, lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65662
llvm-svn: 367734
The file was modifiedllvm/include/llvm/Demangle/DemangleConfig.h
The file was modifiedllvm/lib/Support/Windows/explicit_symbols.inc
The file was modifiedllvm/lib/DebugInfo/PDB/DIA/DIASession.cpp
Commit 37d24a696bf74f4830f2582d2f36256ca1b6bb30 by yhs
[BPF] Handling type conversions correctly for CO-RE
With newly added debuginfo type metadata for
preserve_array_access_index() intrinsic, this patch did the following
two things:
(1). checking validity before adding a new access index
     to the access chain.
(2). calculating access byte offset in IR phase
     BPFAbstractMemberAccess instead of when BTF is emitted.
For (1), the metadata provided by all preserve_*_access_index()
intrinsics are used to check whether the to-be-added type is a proper
struct/union member or array element.
For (2), with all available metadata, calculating access byte offset
becomes easier in BPFAbstractMemberAccess IR phase. This enables us to
remove the unnecessary complexity in BTFDebug.cpp.
New tests are added for
. user explicit casting to array/structure/union
. global variable (or its dereference) as the source of base
. multi demensional arrays
. array access given a base pointer
. cases where we won't generate relocation if we cannot find
   type name.
Differential Revision: https://reviews.llvm.org/D65618
llvm-svn: 367735
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.h
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-2.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-2.ll
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef-array.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-1.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-array-2.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-1.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-1.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-typedef.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-ignore.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-multi-array-1.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-pointer-2.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-3.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-3.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-cast-union-1.ll
The file was addedllvm/test/CodeGen/BPF/CORE/offset-reloc-global-2.ll
Commit 45ea25289d03e55cdcd790df494703103e16f8f7 by craig.topper
[X86] Use the pointer VT for the Scale node when lowering x86
gather/scatter intrinsics.
This is consistent with the target independent intrinsic handling.
Not sure this really matters since we just pull the constant out using
getZExtValue later.
llvm-svn: 367736
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 52e6d52f10dcc2c7750f8c37d2a408219bda611b by aemerson
[GlobalISel] Check LLT size matches memory size for non-truncating
stores.
This was causing a bug where non-truncating stores would be selected
instead of truncating ones.
Differential Revision: https://reviews.llvm.org/D64845
llvm-svn: 367737
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was modifiedllvm/test/TableGen/address-space-patfrags.td
Commit b1cfcd1a5667c55fbcd96fd4bd49db70ce393856 by craig.topper
[ScalarizeMaskedMemIntrin] Bitcast the mask to the scalar domain and use
scalar bit tests for the branches for expandload/compressstore.
Same as what was done for gather/scatter/load/store in r367489.
Expandload/compressstore were delayed due to lack of constant masking
handling that has since been fixed.
llvm-svn: 367738
The file was modifiedllvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
The file was modifiedllvm/test/CodeGen/X86/masked_expandload.ll
The file was modifiedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-compressstore.ll
The file was modifiedllvm/test/CodeGen/X86/pr39666.ll
The file was modifiedllvm/test/CodeGen/X86/masked_compressstore.ll
The file was modifiedllvm/test/Transforms/ScalarizeMaskedMemIntrin/X86/expand-masked-expandload.ll
Commit c835164a47e5997048a547806e5e447a380b8875 by aemerson
Re-commit "[GlobalISel] Add legalization support for non-power-2 loads
and stores""
This is an old commit that exposed a bug in the GISel importer, which
caused non-truncating stores to be selected for truncating store
patterns. Now that's been fixed in r367737 this can go back in.
llvm-svn: 367739
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
Commit 383650c7f19b5b6892c572df06b280eb90afef37 by isanbard
Add brackets to remove warnings about ambiguous 'else's.
llvm-svn: 367740
The file was modifiedllvm/unittests/Support/AlignmentTest.cpp
Commit 9e0f2c2d9dae803093d4a60856cb45f081143070 by echristo
Temporarily Revert "[PowerPC][NFC][MachinePipeliner] Add some regression
testcases"
It's breaking a number of bots, e.g.:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/13893/steps/check-llvm%20msan/logs/stdio
This reverts commit r367732.
llvm-svn: 367741
The file was removedllvm/test/CodeGen/PowerPC/sms-phi-1.ll
The file was removedllvm/test/CodeGen/PowerPC/sms-phi-2.ll
The file was removedllvm/test/CodeGen/PowerPC/sms-phi-3.ll
The file was removedllvm/test/CodeGen/PowerPC/sms-cpy-1.ll
The file was removedllvm/test/CodeGen/PowerPC/sms-phi-5.ll
Commit 38136d3b9687a2b0a39f7c3c0f9276331d624b2e by Lang Hames
[ORC] Remove some old debugging output from a unit test.
llvm-svn: 367742
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Commit 7900905f76f19988f038d3397a8804cd8ef2b135 by diegoaat97
[clang-doc] Update documentation
HTML generator has been included in clang-tools-extra release notes.
clang-doc documentation file has been updated.
Differential Revision: https://reviews.llvm.org/D65622
llvm-svn: 367743
The file was modifiedclang-tools-extra/docs/clang-doc.rst
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
Commit 00879c3e87c8e04b72af3cc60aa52b899dd29a45 by daniel_l_sanders
MCRegister/Register: DenseMapInfo should take `const T &`
llvm-svn: 367744
The file was modifiedllvm/include/llvm/CodeGen/Register.h
The file was modifiedllvm/include/llvm/MC/MCRegister.h
Commit 25ab1c6471ff5f447ca75c66e6abee31620bcc03 by maskray
[ELF] Move R_*_IRELATIVE from .rel[a].plt to .rel[a].dyn unless
--pack-dyn-relocs=android[+relr]
An R_*_IRELATIVE represents the address of a STT_GNU_IFUNC symbol
(redirected at runtime) which is non-preemptable and is not associated
with a canonical PLT (associated with a symbol with a section index of
SHN_UNDEF but a non-zero st_value).
.rel[a].plt [DT_JMPREL, DT_JMPREL+DT_JMPRELSZ) contains relocations that
can be lazily resolved. R_*_IRELATIVE are always eagerly resolved, so
conceptually they do not belong to .rela.plt. "iplt" is mostly a
misnomer.
glibc powerpc and powerpc64 do not resolve R_*_IRELATIVE if they are in
.rela.plt.
    // a.o - synthesized PLT call stub has an R_*_IRELATIVE
   void ifunc(); int main() { ifunc(); }
   // b.o
   static void real() {}
   asm (".type ifunc, %gnu_indirect_function");
   void *ifunc() { return &real; }
The lld-linked executable crashes. ld.bfd places R_*_IRELATIVE in
.rela.dyn and the executable works.
glibc i386, x86_64, and aarch64 have logic
(glibc/sysdeps/*/dl-machine.h:elf_machine_lazy_rel) to eagerly resolve
R_*_IRELATIVE in .rel[a].plt so the lld-linked executable works.
Move R_*_IRELATIVE from .rel[a].plt to .rel[a].dyn to fix the crashes on
glibc powerpc/powerpc64. This also helps simplifying ifunc
implementation in FreeBSD rtld-elf powerpc64.
If --pack-dyn-relocs=android[+relr] is specified, the Android packed
dynamic relocation format is used for .rela.dyn. We cannot name
in.relaIplt ".rela.dyn" because the output section will have mixed
formats. This can be improved in the future.
Reviewed By: pcc
Differential Revision: https://reviews.llvm.org/D65651
llvm-svn: 367745
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc2.s
The file was modifiedlld/test/ELF/gnu-ifunc-dyntags.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt-i386.s
The file was modifiedlld/test/ELF/ppc64-ifunc.s
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/gnu-ifunc-relative.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/gnu-ifunc-shared.s
The file was modifiedlld/test/ELF/ppc32-gnu-ifunc-nonpreemptable.s
The file was modifiedlld/test/ELF/ppc32-gnu-ifunc.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc.s
The file was modifiedlld/test/ELF/gnu-ifunc-i386.s
The file was modifiedlld/test/ELF/gnu-ifunc-canon.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt.s
The file was modifiedlld/test/ELF/linkerscript/orphan-report.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-nonpreemptable.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-plt.s
The file was modifiedlld/test/ELF/gnu-ifunc.s
Commit 67e93a1ae00f10450bfc1cfc1ca78498712f4b1f by hansang.bae
Add OMPT support for teams construct
This change adds OMPT support for events from teams construct.
Differential Revision: https://reviews.llvm.org/D64025
llvm-svn: 367746
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was addedopenmp/runtime/test/ompt/teams/team.c
The file was modifiedopenmp/runtime/src/ompt-internal.h
The file was modifiedopenmp/runtime/test/ompt/misc/interoperability.cpp
The file was addedopenmp/runtime/test/ompt/teams/parallel_team.c
The file was modifiedopenmp/runtime/test/ompt/callback.h
The file was modifiedopenmp/runtime/src/ompt-specific.cpp
The file was modifiedopenmp/runtime/src/kmp_csupport.cpp
The file was addedopenmp/runtime/test/ompt/teams/serial_teams.c
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/ompt-specific.h
The file was addedopenmp/runtime/test/ompt/teams/serialized.c
Commit aa2810b6e74dcc7967b56fffe519d630370794a4 by craig.topper
[InstSimplify] Add test case to show bad sign bit handling for integer
abs idiom in computeKnownBits.
computeKnownBits will indicate the sign bit of abs is 0 if the the RHS
operand returned by matchSelectPattern has the nsw flag set. For abs
idioms like (X >= 0) ? X : -X, the RHS returns -X. But we can also match
((X-Y) >= 0 ? X-Y : Y-X as abs. In this case RHS will be the Y-X
operand. According to Alive, the sign bit for this is only 0 if both the
X-Y and Y-X operands have the nsw flag. But we're only checking the Y-X
operand.
llvm-svn: 367747
The file was modifiedllvm/test/Transforms/InstSimplify/icmp-abs-nabs.ll
Commit 96bb3472058c709dc2f798d6e507235b1ffc2f89 by uenoku.tokotoko
[Attributor] Fix dereferenceable callsite argument initialization
llvm-svn: 367748
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 10bf563171c5daf8e9bf8cf52f57f0790e1ff853 by eric
Simplify <type_traits> implementations.
This patch rewrites a number of old meta-function implementations that
assumed const/volatile could not be safely applied to all types. This is
no longer the case, though for some types (Ex function types), the const
qualifier can be ignored.
The largest improvement in this patch is the reduction of is_function.
Thanks to Matt Calabrese for the improved implementation.
llvm-svn: 367749
The file was modifiedlibcxx/include/type_traits