Changes

Summary

  1. Moved a few builders to use UnifiedTreeBuilder. (details)
Commit 41805b4d7038013f4aef5a32484ef9d3a55cd928 by gkistanova
Moved a few builders to use UnifiedTreeBuilder.
llvm-svn: 374466
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [OPENMP50]Support for 'master taskloop' directive. (details)
  2. [OPENMP]Update doc for supported constructs, NFC. (details)
  3. [ScanDeps] clang-format, 80 cols. (details)
  4. ADT: Save a word in every StringSet entry (details)
  5. [lit] Add comment explaining the LIT_OPTS env var overrides command line (details)
  6. [PDB] Fix bug when using multiple PCH header objects with the same name. (details)
  7. [MSVC] Automatically add atlmfc folder to include and libpath. (details)
  8. Fix process launch failure on FreeBSD after r365761 (details)
  9. Fix a documentation warning from GSYM commit. (details)
  10. [System Model] [TTI] Move default cache/prefetch implementations (details)
  11. [MemorySSA] Additional handling of unreachable blocks. (details)
  12. Add a missing include in test. (details)
  13. Add -fgnuc-version= to control __GNUC__ and other GCC macros (details)
  14. Fix __builtin_assume_aligned with too large values. (details)
  15. TestMTCSimple: Make Makefile portable. (details)
  16. [lit] Break main into smaller functions (details)
  17. [InstCombine] Add test case for PR43617 (NFC) (details)
  18. [ValueTracking] Improve pointer offset computation for cases of same (details)
  19. [AMDGPU] Handle undef old operand in DPP combine (details)
  20. Revert 374450 "Fix __builtin_assume_aligned with too large values." (details)
  21. Fix some errors in <arm_neon.h> tests that cause them to fail with lax (details)
  22. [GISel] Allow getConstantVRegVal() to return G_FCONSTANT values. (details)
  23. [X86] Add test cases for packus/ssat/usat 32i32->v32i8 test cases. NFC (details)
  24. [X86] Guard against leaving a dangling node in combineTruncateWithSat. (details)
  25. [test] Reduce inconsistency between lit configuration files. (details)
  26. [Make] Remove spurious line break (details)
  27. [GISel] Simplifying return from else in function. NFC (details)
  28. PR43629: Fix crash evaluating constexpr placement new on a subobject of (details)
  29. Fix help message for -ffp-contract (details)
  30. [lldb-test] Remove unused header (details)
  31. [tooling] Teach Tooling to understand compilation with offloading. (details)
  32. [MemorySSA] Update Phi simplification. (details)
  33. Fix check-interception link error in compiler-rt debug mode (details)
  34. Change test case so that it accepts backslashes in file path, in the (details)
  35. docs/DeveloperPolicy: Add instructions for requesting GitHub commit (details)
  36. [JITLink] Move MachO/x86 got test further down in the data section. (details)
  37. [JITLink] Add an initial implementation of JITLink for MachO/AArch64. (details)
  38. [tooling] Fix assertion on MacOSX. (details)
  39. Fix compilation warning due to typo. (details)
  40. [msan, NFC] Move option parsing into constructor (details)
  41. [tsan,msan] Insert module constructors in a module pass (details)
  42. gn build: Merge r374476 (details)
  43. Clean up format in cmake file (details)
  44. Move most CXXRecordDecl::DefinitionData bit-fields out into a separate (details)
  45. [X86] Update trunc_packus_v32i32_v32i8 test in min-legal-vector-width.ll (details)
  46. [X86] Improve the AVX512 bailout in combineTruncateWithSat to allow pack (details)
  47. Include whether the destructor is constexpr in -ast-dump output for a (details)
  48. [Stats] Add ALWAYS_ENABLED_STATISTIC enabled regardless of (details)
  49. Get ClangdXPC.framework building (barely) with CMake's Xcode generator (details)
  50. AMDGPU: Move SelectFlatOffset back into AMDGPUISelDAGToDAG (details)
  51. Fix assertion failure for a cv-qualified array as a non-type template (details)
  52. [Stats] Fix polly build due to change in llvm::Statistic constructor in (details)
  53. [Attributor][FIX] Do not replace musstail calls with constant (details)
  54. [JITLink] Fix MachO/arm64 GOTPAGEOFF encoding. (details)
  55. [JITLink] Disable the MachO/AArch64 testcase while investigating bot (details)
  56. [Stats] More polly fixes following llvm::Statistic changes in r374490. (details)
  57. [CUDA][HIP} Add a test for constexpr default ctor (details)
  58. Revert 374481 "[tsan,msan] Insert module constructors in a module pass" (details)
Commit 60e51c48033c5d6cfc7aa8e07d1143971e24261a by a.bataev
[OPENMP50]Support for 'master taskloop' directive.
Added full support for master taskloop directive.
llvm-svn: 374437
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was addedclang/test/OpenMP/master_taskloop_reduction_codegen.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/master_taskloop_priority_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_reduction_messages.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_final_messages.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/test/OpenMP/master_taskloop_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/master_taskloop_lastprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_num_tasks_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_firstprivate_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_loop_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_private_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_private_messages.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_collapse_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_lastprivate_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/test/OpenMP/master_taskloop_in_reduction_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_in_reduction_codegen.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was addedclang/test/OpenMP/master_taskloop_ast_print.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_grainsize_messages.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_misc_messages.c
Commit ff8a1a0705a7809e65ae279d71c2b10e2a70fcff by a.bataev
[OPENMP]Update doc for supported constructs, NFC.
llvm-svn: 374438
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 2f56266234e55b12437c800327c96a65e305bf08 by bigcheesegs
[ScanDeps] clang-format, 80 cols.
llvm-svn: 374439
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
Commit aab67b571a3dc984d8990fdb05285c76b11f83d6 by jordan_rose
ADT: Save a word in every StringSet entry
Add a specialization to StringMap (actually StringMapEntry) for a value
type of NoneType (the type of llvm::None), and use it for StringSet.
This'll save us a word from every entry in a StringSet, used for
alignment with the size_t that stores the string length.
I could have gone all the way to some kind of empty base class
optimization, but that seemed like overkill. Someone can consider adding
that in the future, though.
https://reviews.llvm.org/D68586
llvm-svn: 374440
The file was modifiedllvm/include/llvm/ADT/StringSet.h
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
The file was modifiedllvm/include/llvm/ADT/StringMap.h
Commit 3620e8fdb554de622327362ef303a37076044f3a by jlettner
[lit] Add comment explaining the LIT_OPTS env var overrides command line
options
Normally, command line options override environment variables.  Add
comment to state that we are doing the reverse on purpose.
llvm-svn: 374441
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
Commit 02c53868116d9bc5e76400183250772af5807eb9 by zturner
[PDB] Fix bug when using multiple PCH header objects with the same name.
A common pattern in Windows is to have all your precompiled headers use
an object named stdafx.obj.  If you've got a project with many different
static libs, you might use a separate PCH for each one of these.
During the final link step, a file from A might reference the PCH object
from A, but it will have the same name (stdafx.obj) as any other PCH
from another project.  The only difference will be the path.  For
example, A might be A/stdafx.obj while B is B/stdafx.obj.
The existing algorithm checks only the filename that was passed on the
command line (or stored in archive), but this is insufficient in the
case where relative paths are used, because depending on the command
line object file / library order, it might find the wrong PCH object
first resulting in a signature mismatch.
The fix here is to simply check whether the absolute path of the PCH
object (which is stored in the input obj file for the file that
references the PCH) *ends with* the full relative path of whatever is
specified on the command line (or is in the archive).
Differential Revision: https://reviews.llvm.org/D66431
llvm-svn: 374442
The file was addedlld/test/COFF/Inputs/precompa/precomp.obj
The file was modifiedlld/test/COFF/precomp-link.test
The file was addedlld/test/COFF/precomp-link-samename.test
The file was modifiedlld/COFF/PDB.cpp
The file was addedlld/test/COFF/Inputs/precompb/precomp.obj
The file was addedlld/test/COFF/Inputs/precompb/useprecomp.obj
The file was modifiedllvm/lib/DebugInfo/PDB/GenericError.cpp
The file was modifiedllvm/include/llvm/DebugInfo/PDB/GenericError.h
The file was addedlld/test/COFF/Inputs/precompa/useprecomp.obj
Commit 79f243296654fa6089b4529219245fe00f372e5a by zturner
[MSVC] Automatically add atlmfc folder to include and libpath.
Differential Revision: https://reviews.llvm.org/D68736
llvm-svn: 374443
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/lib/Driver/ToolChains/MSVC.h
Commit a42942e0ecd69d14f80aa285112a843692ca1916 by dimitry
Fix process launch failure on FreeBSD after r365761
Summary: After rLLDB365761, and with `LLVM_ENABLE_ABI_BREAKING_CHECKS`
enabled, launching any process on FreeBSD crashes lldb with:
``` Expected<T> must be checked before access or destruction.
Expected<T> value was in success state. (Note: Expected<T> values in
success mode must still be checked prior to being destroyed).
```
This is because `m_operation_thread` and `m_monitor_thread` were wrapped
in `llvm::Expected<>`, but this requires the objects to be correctly
initialized before accessing them.
To fix the crashes, use `llvm::Optional<>` for the members (as indicated
by labath), and use local variables to store the return values of
`LaunchThread` and `StartMonitoringChildProcess`.  Then, only assign to
the member variables after checking if the return values indicated
success.
Reviewers: devnexen, emaste, MaskRay, mgorny
Reviewed By: devnexen
Subscribers: jfb, labath, krytarowski, lldb-commits
Differential Revision: https://reviews.llvm.org/D68723
llvm-svn: 374444
The file was modifiedlldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h
The file was modifiedlldb/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
Commit 366ada1d069c9ed944d993d8a000b370a9622a00 by clayborg
Fix a documentation warning from GSYM commit.
llvm-svn: 374445
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
Commit 7c562f12869f8eb11f08d1617e199e0909ce9761 by greened
[System Model] [TTI] Move default cache/prefetch implementations
Move the default implementations of cache and prefetch queries to
TargetTransformInfoImplBase and delete them from NoTIIImpl.  This brings
these interfaces in line with how other TTI interfaces work.
Differential Revision: https://reviews.llvm.org/D68804
llvm-svn: 374446
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 67f0c5c085782aa6cf36b2253b83b04351215343 by asbirlea
[MemorySSA] Additional handling of unreachable blocks.
Summary: Whenever we get the previous definition, the assumption is that
the recursion starts ina  reachable block. If the recursion starts in an
unreachable block, we may recurse indefinitely. Handle this case by
returning LoE if the block is unreachable.
Resolves PR43426.
Reviewers: george.burgess.iv
Subscribers: Prazek, sanjoy.google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68809
llvm-svn: 374447
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was addedllvm/test/Analysis/MemorySSA/pr43426.ll
Commit 53a53e63c85e53e70ea208a38d4efa9b90fb5f42 by eugeni.stepanov
Add a missing include in test.
A fix for r373993.
llvm-svn: 374448
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp
Commit 5e866e411caad4c4e17e7e0c67b06d28451e1bf2 by rnk
Add -fgnuc-version= to control __GNUC__ and other GCC macros
I noticed that compiling on Windows with -fno-ms-compatibility had the
side effect of defining __GNUC__, along with __GNUG__, __GXX_RTTI__, and
a number of other macros for GCC compatibility. This is undesirable and
causes Chromium to do things like mix __attribute__ and __declspec,
which doesn't work. We should have a positive language option to enable
GCC compatibility features so that we can experiment with
-fno-ms-compatibility on Windows. This change adds -fgnuc-version= to be
that option.
My issue aside, users have, for a long time, reported that __GNUC__
doesn't match their expectations in one way or another. We have
encouraged users to migrate code away from this macro, but new code
continues to be written assuming a GCC-only environment. There's really
nothing we can do to stop that. By adding this flag, we can allow them
to choose their own adventure with __GNUC__.
This overlaps a bit with the "GNUMode" language option from -std=gnu*.
The gnu language mode tends to enable non-conforming behaviors that we'd
rather not enable by default, but the we want to set things like
__GXX_RTTI__ by default, so I've kept these separate.
Helps address PR42817
Reviewed By: hans, nickdesaulniers, MaskRay
Differential Revision: https://reviews.llvm.org/D68055
llvm-svn: 374449
The file was addedclang/test/Driver/fgnuc-version.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Frontend/gnu-inline.c
The file was modifiedclang/test/Driver/rewrite-legacy-objc.m
The file was modifiedclang/test/Driver/rewrite-objc.m
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/test/Sema/atomic-ops.c
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/Preprocessor/init.c
The file was modifiedclang/test/Headers/stdbool.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Driver/Options.td
Commit 31e454c1ecac59273b4864990c8368c3e3fd16b6 by erich.keane
Fix __builtin_assume_aligned with too large values.
Code to handle __builtin_assume_aligned was allowing larger values, but
would convert this to unsigned along the way. This patch removes the
EmitAssumeAligned overloads that take unsigned to do away with this
problem.
Additionally, it adds a warning that values greater than 1 <<29 are
ignored by LLVM.
Differential Revision: https://reviews.llvm.org/D68824
llvm-svn: 374450
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
Commit 58417b3390e973b8bd9735bbfb781125a58ee2c2 by Fred Riss
TestMTCSimple: Make Makefile portable.
r374262 left out the Makefile changes needed to cross compile this test.
llvm-svn: 374451
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/Makefile
Commit 8d0744a8b57d975326c0e16f20c4f7440ef2c0e9 by jlettner
[lit] Break main into smaller functions
This change is purely mechanical.  I will do further cleanups of
parameter usages.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68830
llvm-svn: 374452
The file was modifiedllvm/utils/lit/lit/main.py
Commit 8bd42769816ad339bf64ae5ef72078739ed488a9 by e.menezes
[InstCombine] Add test case for PR43617 (NFC)
Also, refactor check in `LibCallSimplifier::optimizeLog()`.
llvm-svn: 374453
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/test/Transforms/InstCombine/log-pow.ll
Commit 686fa4bbfbce034484fee8616d9ec7c29ed96410 by xur
[ValueTracking] Improve pointer offset computation for cases of same
base
This patch improves the handling of pointer offset in GEP expressions
where one argument is the base pointer. isPointerOffset() is being used
by memcpyopt where current code synthesizes consecutive 32 bytes stores
to one store and two memset intrinsic calls. With this patch, we convert
the stores to one memset intrinsic.
Differential Revision: https://reviews.llvm.org/D67989
llvm-svn: 374454
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was addedllvm/test/Transforms/MemCpyOpt/store-to-memset.ll
Commit 19a1a739b15d38b7488a4cabdc25a61b9e0d1fea by Stanislav.Mekhanoshin
[AMDGPU] Handle undef old operand in DPP combine
It was missing an undef flag.
Differential Revision: https://reviews.llvm.org/D68813
llvm-svn: 374455
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit b556085d811027a4ed50d2a5505010c7a9ac9819 by nicolasweber
Revert 374450 "Fix __builtin_assume_aligned with too large values."
The test fails on Windows, with
  error: 'warning' diagnostics expected but not seen:
   File builtin-assume-aligned.c Line 62: requested alignment
       must be 268435456 bytes or smaller; assumption ignored
error: 'warning' diagnostics seen but not expected:
   File builtin-assume-aligned.c Line 62: requested alignment
       must be 8192 bytes or smaller; assumption ignored
llvm-svn: 374456
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit 3f2d42baa010c5295a8ca5c57a2f15a40def7674 by richard-llvm
Fix some errors in <arm_neon.h> tests that cause them to fail with lax
vector conversions disabled.
llvm-svn: 374457
The file was modifiedclang/test/CodeGen/arm64-vrnd.c
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
Commit 0112123eea5f36ecc8880632f70d80b6522518d0 by hayarms
[GISel] Allow getConstantVRegVal() to return G_FCONSTANT values.
In GISel we have both G_CONSTANT and G_FCONSTANT, but because in GISel
we don't really have a concept of Float vs Int value the only difference
between the two is where the data originates from.
What both G_CONSTANT and G_FCONSTANT return is just a bag of bits with
the constant representation in it.
By making getConstantVRegVal() return G_FCONSTANTs bit representation as
well we allow ConstantFold and other things to operate with G_FCONSTANT.
Adding tests that show ConstantFolding to work on mixed G_CONSTANT and
G_FCONSTANT sources.
Differential Revision: https://reviews.llvm.org/D68739
llvm-svn: 374458
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/Utils.h
The file was modifiedllvm/unittests/CodeGen/GlobalISel/ConstantFoldingTest.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-frint.mir
Commit a0df8b72f222ec66b268eec619694eed46b8d016 by craig.topper
[X86] Add test cases for packus/ssat/usat 32i32->v32i8 test cases. NFC
llvm-svn: 374459
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-usat.ll
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
Commit 4ee7f8365f90cb21aa0afed0754cb13493e09e7d by craig.topper
[X86] Guard against leaving a dangling node in combineTruncateWithSat.
When handling the packus pattern for i32->i8 we do a two step process
using a packss to i16 followed by a packus to i8. If the final i8 step
is a type with less than 64-bits the packus step will return SDValue(),
but the i32->i16 step might have succeeded. This leaves the nodes from
the middle step dangling.
Guard against this by pre-checking that the number of elements is at
least 8 before doing the middle step.
With that check in place this should mean the only other case the middle
step itself can fail is when SSE2 is disabled. So add an early SSE2
check then just assert that neither the middle or final step ever fail.
llvm-svn: 374460
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b9e518d3c69cd81b5a50009f4eee43ad51c53cba by Jonas Devlieghere
[test] Reduce inconsistency between lit configuration files.
Add the Python extension to the configuration files in the API directory
to match the other test suites.
llvm-svn: 374461
The file was modifiedlldb/test/CMakeLists.txt
The file was addedlldb/test/API/lit.cfg.py
The file was addedlldb/test/API/lit.site.cfg.py.in
The file was removedlldb/test/API/lit.site.cfg.in
The file was removedlldb/test/API/lit.cfg
Commit 6cff8648cc84125d603b9de72de1f949e98b8092 by Jonas Devlieghere
[Make] Remove spurious line break
This test is disabled upstream and therefore this went unnoticed.
llvm-svn: 374462
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
Commit a064edf55e1ced1ea1627d4af57d3411f5c86357 by hayarms
[GISel] Simplifying return from else in function. NFC
Forgot to integrate this little change in previous commit
llvm-svn: 374463
The file was modifiedllvm/lib/CodeGen/GlobalISel/Utils.cpp
Commit e381f33651aafc6126b8cdd80f45d28ee500f431 by richard-llvm
PR43629: Fix crash evaluating constexpr placement new on a subobject of
an out-of-lifetime object.
llvm-svn: 374465
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-constexpr-dynalloc.cpp
Commit c10a64718ed27097b264cf82cf8299bfa07a40f8 by Yaxun.Liu
Fix help message for -ffp-contract
Differential Revision: https://reviews.llvm.org/D68823
llvm-svn: 374467
The file was modifiedclang/include/clang/Driver/Options.td
Commit 887707e29d31a2214dad16fcfecaab9e1de53d67 by apl
[lldb-test] Remove unused header
llvm-svn: 374468
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
Commit 1ccb39bbd87cef11a023107d87d9ef5dffc86b81 by michael.hliao
[tooling] Teach Tooling to understand compilation with offloading.
Summary:
- So far, we only recognize the host compilation with offloading and
skip the offloading part.
Reviewers: tra, yaxunl
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68660
llvm-svn: 374470
The file was modifiedclang/lib/Tooling/Tooling.cpp
The file was addedclang/test/Tooling/clang-check-offload.cpp
Commit 6442b5697433e8306e5e5efbcee119931e88b274 by asbirlea
[MemorySSA] Update Phi simplification.
When simplifying a Phi to the unique value found incoming, check that
there wasn't a Phi already created to break a cycle. If so, remove it.
Resolves PR43541.
Some additional nits included.
llvm-svn: 374471
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was addedllvm/test/Analysis/MemorySSA/pr43541.ll
Commit 9280d6c178a4df3caed74e599db612ea091b296d by rnk
Fix check-interception link error in compiler-rt debug mode
llvm-svn: 374472
The file was modifiedcompiler-rt/lib/interception/tests/CMakeLists.txt
Commit c9428a04fc186c14bb130822456105587ebf7dfa by akhuang
Change test case so that it accepts backslashes in file path, in the
case that the test runs on Windows
llvm-svn: 374473
The file was modifiedlld/test/ELF/compressed-debug-conflict.s
Commit 97578b14fca677dc7dc6ec75092ac1bc02a03b7b by tstellar
docs/DeveloperPolicy: Add instructions for requesting GitHub commit
access
Subscribers: mehdi_amini, jtony, xbolva00, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66840
llvm-svn: 374474
The file was modifiedllvm/docs/DeveloperPolicy.rst
Commit 96cd736c2df461a7524b3c7f3e756bd2691263ed by Lang Hames
[JITLink] Move MachO/x86 got test further down in the data section.
'named_data' should be the first symbol in the data section.
llvm-svn: 374475
The file was modifiedllvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s
Commit 3cc04f6a41c60000bbf6c3ae767cf5ef8fe20c81 by Lang Hames
[JITLink] Add an initial implementation of JITLink for MachO/AArch64.
This implementation has support for all relocation types except TLV.
Compact unwind sections are not yet supported, so exceptions/unwinding
will not work.
llvm-svn: 374476
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO.cpp
The file was addedllvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
The file was addedllvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
The file was addedllvm/test/ExecutionEngine/JITLink/AArch64/MachO_Arm64_relocations.s
The file was modifiedllvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
The file was addedllvm/include/llvm/ExecutionEngine/JITLink/MachO_arm64.h
Commit 1f62ae863571a1c2d949258d94f4186e502c9d87 by michael.hliao
[tooling] Fix assertion on MacOSX.
llvm-svn: 374478
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit 6fa082fb00a1587fe0adf17e5197447e461615d7 by michael.hliao
Fix compilation warning due to typo.
llvm-svn: 374479
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
Commit c2b7737b3423815f03ae10b3c74ff537a21a7835 by Vitaly Buka
[msan, NFC] Move option parsing into constructor
llvm-svn: 374480
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Commit 5c72aa232e742ebe0dec75510691a8292ef8035d by Vitaly Buka
[tsan,msan] Insert module constructors in a module pass
Summary: If we insert them from function pass some analysis may be
missing or invalid. Fixes PR42877.
Reviewers: eugenis, leonardchan
Reviewed By: leonardchan
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68832
llvm-svn: 374481
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedclang/test/CodeGen/sanitizer-module-constructor.c
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
The file was modifiedllvm/lib/Passes/PassRegistry.def
Commit 85ec603d9ef00ad4b01604c30ef2b4cb65c65db4 by llvmgnsyncbot
gn build: Merge r374476
llvm-svn: 374482
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/JITLink/BUILD.gn
Commit 7b9900dff3c09c562a9b0fdd5f6e8b4a7a2a96a8 by hhb
Clean up format in cmake file
Summary: Makes the indent consistent to other part of the file.
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68842
llvm-svn: 374483
The file was modifiedlldb/CMakeLists.txt
Commit 91aeacc06b0e71815f7808fb27daf3664325c282 by richard-llvm
Move most CXXRecordDecl::DefinitionData bit-fields out into a separate
file.
Reduces duplication and thereby reduces the risk that someone will
forget to update one of these places, as I did when adding
DefaultedDestructorIsConstexpr (though I've been unable to produce a
testcase for which that matters so far).
llvm-svn: 374484
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/AST/DeclCXX.cpp
The file was addedclang/include/clang/AST/CXXRecordDeclDefinitionBits.def
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
Commit 4dc27c69b6d13d497b2bd9f430d91ce3dab8847b by craig.topper
[X86] Update trunc_packus_v32i32_v32i8 test in min-legal-vector-width.ll
to use a load for the large type and add the min-legal-vector-width
attribute.
The attribute is needed to avoid zmm registers. Using memory avoids
argument splitting for large vectors.
llvm-svn: 374486
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
Commit b560fd6c52eb5ce52315fff97f65952b53298728 by craig.topper
[X86] Improve the AVX512 bailout in combineTruncateWithSat to allow pack
instructions in more situations.
If we don't have VLX we won't end up selecting a saturating truncate for
256-bit or smaller vectors so we should just use the pack lowering.
llvm-svn: 374487
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-ssat.ll
The file was modifiedllvm/test/CodeGen/X86/pmaddubsw.ll
The file was modifiedllvm/test/CodeGen/X86/vector-trunc-packus.ll
The file was modifiedllvm/test/CodeGen/X86/masked_store_trunc_ssat.ll
Commit 63835f3ac7672a6f1c32109f303a849b6c044b39 by richard-llvm
Include whether the destructor is constexpr in -ast-dump output for a
clss.
llvm-svn: 374488
The file was modifiedclang/lib/AST/TextNodeDumper.cpp
Commit adb203feda9036d39ffecc21f5a9c463a20ef115 by vsapsai
[Stats] Add ALWAYS_ENABLED_STATISTIC enabled regardless of
LLVM_ENABLE_STATS.
The intended usage is to measure relatively expensive operations. So the
cost of the statistic is negligible compared to the cost of a measured
operation and can be enabled all the time without impairing the
compilation time.
rdar://problem/55715134
Reviewers: dsanders, bogner, rtereshin
Reviewed By: dsanders
Subscribers: hiraditya, jkorous, dexonsmith, ributzka, cfe-commits,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68252
llvm-svn: 374490
The file was modifiedllvm/include/llvm/ADT/Statistic.h
The file was modifiedllvm/unittests/ADT/StatisticTest.cpp
The file was modifiedllvm/lib/Support/Statistic.cpp
Commit 7b5c8792431f547248598321e88c6018c2a2097b by jordan_rose
Get ClangdXPC.framework building (barely) with CMake's Xcode generator
The output directories for CMake's Xcode project generator are specific
to the configuration, and so looking in CMAKE_LIBRARY_OUTPUT_DIRECTORY
isn't going to work. Fortunately, CMake already provides generator
expressions to find the output of a given target.
I call this "barely" building because the built framework isn't going to
respect the configuration; that is, I can't have both Debug and
RelWithDebInfo variants of ClangdXPC.framework at the same time like I
can with normal library or executable targets. To do that we'd have to
put the framework in a configuration-specific output directory or use
CMake's native support for frameworks instead.
https://reviews.llvm.org/D68846
llvm-svn: 374494
The file was modifiedclang-tools-extra/clangd/xpc/cmake/modules/CreateClangdXPCFramework.cmake
Commit 4227c62bc7f34f73e7be181f62da7da087441f35 by Matthew.Arsenault
AMDGPU: Move SelectFlatOffset back into AMDGPUISelDAGToDAG
llvm-svn: 374495
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 9d1eba184ef51dd78f2ef75eb595ca597301683f by richard-llvm
Fix assertion failure for a cv-qualified array as a non-type template
parameter type.
We were both failing to decay the array type to a pointer and failing to
remove the top-level cv-qualifications. Fix this by decaying array
parameters even if the parameter type is dependent.
llvm-svn: 374496
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit e90cc03a85ea3b4da1462c83960aa996b359ed32 by vsapsai
[Stats] Fix polly build due to change in llvm::Statistic constructor in
r374490.
llvm-svn: 374497
The file was modifiedpolly/lib/Analysis/ScopDetectionDiagnostic.cpp
Commit 8fa56c49dfc7c219ba37281145d73fd724941715 by jdoerfert
[Attributor][FIX] Do not replace musstail calls with constant
llvm-svn: 374498
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
Commit b45359387092a01bb60fdd3b27cadcb91868b508 by Lang Hames
[JITLink] Fix MachO/arm64 GOTPAGEOFF encoding.
The original implementation failed to shift the immediate down.
This should fix some of the bot failures due to r374476.
llvm-svn: 374499
The file was modifiedllvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp
Commit e5c61cee44f528b58169f0721e96c65f94e12d73 by Lang Hames
[JITLink] Disable the MachO/AArch64 testcase while investigating bot
failures.
The windows bots are failing due to a memory layout error. Temporarily
disabling while I investigate whether this can be worked around, or
whether the test should be disabled on Windows.
llvm-svn: 374500
The file was modifiedllvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
Commit 126158f096ca07588ca52dff0806a4aeb3eef195 by vsapsai
[Stats] More polly fixes following llvm::Statistic changes in r374490.
llvm-svn: 374501
The file was modifiedpolly/lib/Transform/Simplify.cpp
The file was modifiedpolly/lib/Transform/ScheduleOptimizer.cpp
Commit c1f8e04eeefef0eb69cb4942841ef5437e3c1c75 by Yaxun.Liu
[CUDA][HIP} Add a test for constexpr default ctor
Differential Revision: https://reviews.llvm.org/D68753
llvm-svn: 374502
The file was addedclang/test/SemaCUDA/constexpr-ctor.cu
Commit d38332981fbdf88a6a9d45c46041307bcd76fec6 by nicolasweber
Revert 374481 "[tsan,msan] Insert module constructors in a module pass"
CodeGen/sanitizer-module-constructor.c fails on mac and windows, see
e.g.
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/11424
llvm-svn: 374503
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was removedclang/test/CodeGen/sanitizer-module-constructor.c
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
The file was modifiedllvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
The file was modifiedllvm/include/llvm/Transforms/Instrumentation/ThreadSanitizer.h

Summary

  1. Moved a few builders to use UnifiedTreeBuilder. (details)
Commit 41805b4d7038013f4aef5a32484ef9d3a55cd928 by gkistanova
Moved a few builders to use UnifiedTreeBuilder.
llvm-svn: 374466
The file was modifiedbuildbot/osuosl/master/config/builders.py