SuccessChanges

Summary

  1. [ARM] Add qadd lowering from a sadd_sat (details)
  2. [docs][llvm-ar] Update llvm-ar command guide (details)
  3. [Alignment][NFC] Add a helper function to DataLayout (details)
  4. [ARM] Extra qdadd patterns (details)
  5. [lldb] drop .symtab removal in minidebuginfo tests (details)
  6. [Alignment][NFC] Instructions::getLoadStoreAlignment (details)
  7. [Types] Define a getWithNewBitWidth for Types and make use of it (details)
  8. Pre-commit test cases for D64713. (details)
  9. [Alignment][NFC] Finish transition for `Loads` (details)
  10. [NFC] Cleanup with variable name IsPPC64 & IsDarwin (details)
  11. Fix Polly (details)
  12. [lldb] Add test for executing static initializers in expression command (details)
  13. PCH debug info: Avoid appending the source directory to an absolute path (details)
  14. [AArch64][DebugInfo] Do not recompute CalleeSavedStackSize (Take 2) (details)
  15. IndVarSimplify - silence static analyzer dyn_cast<> null dereference (details)
  16. CrossDSOCFI - silence static analyzer dyn_cast<> null dereference (details)
  17. GuardWidening - silence static analyzer null dereference warning with (details)
  18. GVNHoist - silence static analyzer dyn_cast<> null dereference warning (details)
  19. SystemZISelLowering - supportedAddressingMode - silence static analyzer (details)
  20. Unify timeouts in gdbserver tests and ensure they are larger if ASAN is (details)
  21. [NFC] Add missing include to fix modules build (details)
  22. Fix Wdocumentation warning. NFCI. (details)
  23. [PowerPC] Regenerate test for D52431 (details)
  24. Prune Pass.h include from DataLayout.h. NFCI (details)
  25. Prune include of DataLayout.h from include/clang/Basic/TargetInfo.h. NFC (details)
  26. [test] Merge Driver/as-w-warnings.c into as-no-warnings.c (details)
  27. SemaExceptionSpec - silence static analyzer getAs<> null dereference (details)
  28. [NFC][CVP] Add `shl` no-wrap deduction test coverage (details)
  29. [Clang] Add VerboseOutputStream to CompilerInstance (details)
  30. SemaTemplateDeduction - silence static analyzer getAs<> null dereference (details)
  31. Reverted r375425 as it broke some buildbots. (details)
  32. [X86] Rename matchBitOpReduction to matchScalarReduction. NFCI. (details)
  33. [AMDGPU] Select AGPR in PHI operand legalization (details)
  34. AMDGPU: Slightly restructure m0 init code (details)
  35. AMDGPU: Stop adding m0 implicit def to SGPR spills (details)
  36. AMDGPU: Erase redundant redefs of m0 in SIFoldOperands (details)
  37. AMDGPU: Use CopyToReg for interp intrinsic lowering (details)
  38. [GISel][CombinerHelper] Add a combine turning shuffle_vector into (details)
  39. [clang-fuzzer] Add new fuzzer target for Objective-C (details)
  40. Found more timeouts to unify. (details)
  41. [CVP] No-wrap deduction for `shl` (details)
  42. [lit] Remove redundancy from names and comments (details)
  43. AMDGPU: Select basic interp directly from intrinsics (details)
  44. [lit] Simplify test scheduling via multiprocessing.Pool (details)
  45. XFAIL TestLocalVariables.py on Windows (details)
  46. AMDGPU/GlobalISel: Legalize fast unsafe FDIV (details)
  47. [examples] Add a dependency on ExecutionEngine to LLJITWithObjectCache (details)
  48. [X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) movmsk v2X64 (details)
  49. [X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) -> MOVMSK+CMP (details)
  50. Factor out common test functionality into a helper class. (NFC) (details)
  51. whitespace cleanup (details)
  52. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which (details)
  53. Fix -fuse-init-array decision logic on NetBSD (details)
  54. [NFC] Fix typos in CMake comment (details)
  55. [X86][BMI] Pull out schedule classes from bmi_andn<> and bmi_bls<> (details)
  56. [hwasan] Workaround unwinder issues in try-catch test. (details)
  57. Fix lld detection in standalone compiler-rt. (details)
  58. [lit] Move increase_process_limit to ParallelRun (details)
  59. remove multi-argument form of PythonObject::Reset() (details)
  60. fix PythonDataObjectsTest.TestExceptions on windows (details)
  61. Minor coding style fix. NFC. (details)
  62. Refactor DependencyScanningTool to its own file (details)
  63. gn build: Merge r375483 (details)
  64. [CMake] Allow overriding MSVC_DIA_SDK_DIR via CMake (details)
  65. [CMake] [WinMsvc] Look for includes and libs in ${MSVC_BASE}/atlmfc (details)
  66. [clang-fuzzer] Update proto fuzzer example for r375453. (details)
  67. [FrontendTests] Don't actually run the full compiler, parsing is (details)
  68. Revert "[FrontendTests] Don't actually run the full compiler, parsing is (details)
  69. [builtins][test] Avoid unportable mmap call in clear_cache_test.c (details)
  70. [FrontendTests] Try again to make test not write an output file (details)
  71. [LLVMDebugInfoPDB] - Use cantFail() instead of assert(). (details)
  72. [ThinLTO] Don't internalize during promotion (details)
  73. [Alignment][NFC] Attributes use Align/MaybeAlign (details)
Commit d7b77f2203dd09e8d6ab30128cc8b8ae7313c0ee by david.green
[ARM] Add qadd lowering from a sadd_sat
This lowers a sadd_sat to a qadd by treating it as legal. Also adds qsub
at the same time.
The qadd instruction sets the q flag, but we already have many cases
where we do not model this in llvm.
Differential Revision: https://reviews.llvm.org/D68976
llvm-svn: 375411
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat_plus.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/lib/Target/ARM/ARMSubtarget.h
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
The file was modifiedllvm/test/CodeGen/ARM/qdadd.ll
Commit fe263c4f0f8b123ed335dc287524bc558eec0e16 by gbreynoo
[docs][llvm-ar] Update llvm-ar command guide
The llvm-ar command guide had not been updated in some time, it was
missing current functionality and contained information that was out of
date. This change:
- Updates the use of reStructuredText directives, as seen in other tools
command guides.
- Updates the command synopsis.
- Updates the descriptions of the tool behaviour.
- Updates the options section.
- Adds details of MRI script functionality.
- Removes the sections "Standards" and "File Format"
Differential Revision: https://reviews.llvm.org/D68998
llvm-svn: 375412
The file was modifiedllvm/docs/CommandGuide/llvm-ar.rst
Commit c7a76d6bf011754a0d3e9449c77b3cfa4bb01f6e by gchatelet
[Alignment][NFC] Add a helper function to DataLayout
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69258
llvm-svn: 375413
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/unittests/IR/DataLayoutTest.cpp
Commit 0765a4c2889031cf6a221f6f62f6ddb1ab535656 by david.green
[ARM] Extra qdadd patterns
This adds some new qdadd patterns to go along with the other recently
added qadd's.
Differential Revision: https://reviews.llvm.org/D68999
llvm-svn: 375414
The file was modifiedllvm/test/CodeGen/ARM/qdadd.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrInfo.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrThumb2.td
Commit 9129a281cd5b8b1fb804be1de396de4a42676570 by kkleine
[lldb] drop .symtab removal in minidebuginfo tests
Summary: After D69041, we no longer have to manually remove the .symtab
section once yaml2obj was run.
Reviewers: espindola, alexshap
Subscribers: emaste, arichardson, MaskRay, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69254
llvm-svn: 375415
The file was modifiedlldb/test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml
The file was modifiedlldb/test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml
The file was modifiedlldb/test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml
Commit 5e1e83ee23feb55c6791c2ee5398cf1de159ccff by gchatelet
[Alignment][NFC] Instructions::getLoadStoreAlignment
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69256
llvm-svn: 375416
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 3edb41654650d5d0ad02e5f6af3c187cf0c59fd0 by david.green
[Types] Define a getWithNewBitWidth for Types and make use of it
This is designed to change the bitwidth of a type without altering the
number of vector lanes. Also useful in D68651. Otherwise an NFC.
Differential Revision: https://reviews.llvm.org/D69139
llvm-svn: 375417
The file was modifiedllvm/include/llvm/IR/Type.h
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
The file was modifiedllvm/include/llvm/IR/DerivedTypes.h
Commit 609dfcbda9c6f4c5654baca8a24659e6079935f8 by jay.foad
Pre-commit test cases for D64713.
llvm-svn: 375418
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/test/Transforms/InstCombine/mul.ll
Commit 301b4128acbdbf829d4c92907f2a1784b61e83b0 by gchatelet
[Alignment][NFC] Finish transition for `Loads`
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, asbirlea, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69253
llvm-svn: 375419
The file was modifiedllvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/include/llvm/Analysis/Loads.h
The file was modifiedllvm/lib/Analysis/MemDerefPrinter.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
Commit d499d1cedfe460f6e2aa8fcbadc8c784fa960d26 by xiangxdh
[NFC] Cleanup with variable name IsPPC64 & IsDarwin
Clean up PPCAsmPrinter with IsPPC64 and IsDarwin.
Differential Revision: https://reviews.llvm.org/D69259
llvm-svn: 375420
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 22755e4ea8fcb0e6f5b4fd0cbfcdff2a3dcf87a3 by gchatelet
Fix Polly
llvm-svn: 375421
The file was modifiedpolly/lib/Analysis/ScopBuilder.cpp
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
Commit 7a79e10a82e0d5f84385566493823959dc1697b3 by Raphael Isemann
[lldb] Add test for executing static initializers in expression command
llvm-svn: 375422
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/static-initializers/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/static-initializers/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/static-initializers/TestStaticInitializers.py
Commit 122e7af03df6f4d4f64db016c7183d0045690558 by Adrian Prantl
PCH debug info: Avoid appending the source directory to an absolute path
When building a precompiled header in -fmodule-format=obj (i.e.,
`-gmodules) in an absolute path, the locig in
CGDebugInfo::createCompileUnit would unconditionally append the source
directory to the -main-file-name. This patch avoids that behavior for
absolute paths.
rdar://problem/46045865
Differential Revision: https://reviews.llvm.org/D69213
llvm-svn: 375423
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was addedclang/test/PCH/debug-info-pch-container-path.c
Commit 814548ec8e1bf85748bc2aa3be173f20267deca4 by sander.desmalen
[AArch64][DebugInfo] Do not recompute CalleeSavedStackSize (Take 2)
Commit message from D66935:
This patch fixes a bug exposed by D65653 where a subsequent invocation
of `determineCalleeSaves` ends up with a different size for the callee
save area, leading to different frame-offsets in debug information.
In the invocation by PEI, `determineCalleeSaves` tries to determine
whether it needs to spill an extra callee-saved register to get an
emergency spill slot. To do this, it calls 'estimateStackSize' and
manually adds the size of the callee-saves to this. PEI then allocates
the spill objects for the callee saves and the remaining frame layout is
calculated accordingly.
A second invocation in LiveDebugValues causes estimateStackSize to
return the size of the stack frame including the callee-saves. Given
that the size of the callee-saves is added to this, these callee-saves
are counted twice, which leads `determineCalleeSaves` to believe the
stack has become big enough to require spilling an extra callee-save as
emergency spillslot. It then updates CalleeSavedStackSize with a larger
value.
Since CalleeSavedStackSize is used in the calculation of the frame
offset in getFrameIndexReference, this leads to incorrect offsets for
variables/locals when this information is recalculated after PEI.
This patch fixes the lldb unit tests in
`functionalities/thread/concurrent_events/*`
Changes after D66935:
Ensures AArch64FunctionInfo::getCalleeSavedStackSize does not return the
uninitialized CalleeSavedStackSize when running `llc` on a specific pass
where the MIR code has already been expected to have gone through PEI.
Instead, getCalleeSavedStackSize (when passed the MachineFrameInfo) will
try to recalculate the CalleeSavedStackSize from the CalleeSavedInfo. In
debug mode, the compiler will assert the recalculated size equals the
cached size as calculated through a call to determineCalleeSaves.
This fixes two tests:
test/DebugInfo/AArch64/asan-stack-vars.mir
test/DebugInfo/AArch64/compiler-gen-bbs-livedebugvalues.mir that
otherwise fail when compiled using msan.
Reviewed By: omjavaid, efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68783
llvm-svn: 375425
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/wrong-callee-save-size-after-livedebugvariables.mir
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-reg-copy.mir
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/CodeGen/RegUsageInfoCollector.cpp
Commit 0c5df8dbe561949050a7796aa6a83de164f95fed by llvm-dev
IndVarSimplify - silence static analyzer dyn_cast<> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 375426
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 10d4b752a7fcb70d87dd3ffe7264aa5cfa8a7a76 by llvm-dev
CrossDSOCFI - silence static analyzer dyn_cast<> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 375427
The file was modifiedllvm/lib/Transforms/IPO/CrossDSOCFI.cpp
Commit 783d3c4f0aae65483e8fa8281f84774e09b65a49 by llvm-dev
GuardWidening - silence static analyzer null dereference warning with
assertion. NFCI.
llvm-svn: 375428
The file was modifiedllvm/lib/Transforms/Scalar/GuardWidening.cpp
Commit 57e8f0b05545ded4f2da1979ee9b19af55f3c004 by llvm-dev
GVNHoist - silence static analyzer dyn_cast<> null dereference warning
in hasEHOrLoadsOnPath call. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 375429
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
Commit ae9971255990a4f3cf93fa81a5b44dabd2aa747c by llvm-dev
SystemZISelLowering - supportedAddressingMode - silence static analyzer
dyn_cast<> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 375430
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit 5827a82a5870fcb59a9fb34e6891ca0f009d282a by Adrian Prantl
Unify timeouts in gdbserver tests and ensure they are larger if ASAN is
enabled.
llvm-svn: 375431
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteProcessInfo.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/commandline/TestStubReverseConnect.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
Commit ffd87cb46a7becc61247bacdb9dc1718856fcdd9 by Raphael Isemann
[NFC] Add missing include to fix modules build
This header doesn't seem to be parsable on its own and breaks the module
build therefore with the following error:
While building module 'LLVM_Backend' imported from
llvm-project/llvm/lib/CodeGen/MachineScheduler.cpp:14: In file included
from <module-includes>:62:
llvm-project/llvm/include/llvm/CodeGen/MachinePipeliner.h:91:20: error:
declaration of 'AAResultsWrapperPass' must be imported from module
'LLVM_Analysis.AliasAnalysis' before it is required
   AU.addRequired<AAResultsWrapperPass>();
                  ^
llvm-project/llvm/include/llvm/Analysis/AliasAnalysis.h:1157:7: note:
previous declaration is here class AAResultsWrapperPass : public
FunctionPass {
     ^ llvm-project/llvm/lib/CodeGen/MachineScheduler.cpp:14:10: fatal
error: could not build module 'LLVM_Backend'
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.
llvm-svn: 375433
The file was modifiedllvm/include/llvm/CodeGen/MachinePipeliner.h
Commit 67854aa33dda6452b04f51715d558c0db705fbdb by llvm-dev
Fix Wdocumentation warning. NFCI.
llvm-svn: 375434
The file was modifiedclang/include/clang/AST/ExprCXX.h
Commit 0a803dd8229cc712ca594680ba47b631beee9a13 by llvm-dev
[PowerPC] Regenerate test for D52431
llvm-svn: 375435
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.ll
Commit 1f43ea41c330d1b0580b601e55f641f03ddced04 by bjorn.a.pettersson
Prune Pass.h include from DataLayout.h. NFCI
Summary: Reduce include dependencies by no longer including Pass.h from
DataLayout.h. That include seemed irrelevant to DataLayout, as well as
being irrelevant to several users of DataLayout.
Reviewers: rnk
Reviewed By: rnk
Subscribers: mehdi_amini, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69261
llvm-svn: 375436
The file was modifiedclang/lib/Tooling/AllTUsExecution.cpp
The file was modifiedllvm/lib/Transforms/Utils/CanonicalizeAliases.cpp
The file was modifiedllvm/include/llvm/IR/Module.h
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/unittests/IR/ModuleTest.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
Commit 78424e5f8417f5014006e951dbe813d092cb567f by bjorn.a.pettersson
Prune include of DataLayout.h from include/clang/Basic/TargetInfo.h. NFC
Summary: Use a forward declaration of DataLayout instead of including
DataLayout.h in clangs TargetInfo.h. This reduces include dependencies
toward DataLayout.h (and other headers such as DerivedTypes.h, Type.h
that is included by DataLayout.h).
Needed to move implemantation of TargetInfo::resetDataLayout from
TargetInfo.h to TargetInfo.cpp.
Reviewers: rnk
Reviewed By: rnk
Subscribers: jvesely, nhaehnle, cfe-commits, llvm-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69262
llvm-svn: 375438
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/Targets/AMDGPU.cpp
The file was modifiedclang/unittests/AST/DeclTest.cpp
The file was modifiedclang/lib/Basic/TargetInfo.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 0cfd9e5b580f06d63be7054ba4efa0524011f096 by maskray
[test] Merge Driver/as-w-warnings.c into as-no-warnings.c
For -integrated-as RUN lines we can remove -target.
llvm-svn: 375439
The file was modifiedclang/test/Driver/as-no-warnings.c
The file was removedclang/test/Driver/as-w-option.c
Commit afb163f53ad567d72757e05c95e4059d3eb8de24 by llvm-dev
SemaExceptionSpec - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 375440
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
Commit ca7f4d8b85b0e1f2f7ab4afab8a31b6aee5964cb by lebedev.ri
[NFC][CVP] Add `shl` no-wrap deduction test coverage
llvm-svn: 375441
The file was addedllvm/test/Transforms/CorrelatedValuePropagation/shl.ll
Commit 87cb734c04beab4731b51ff6763f5e63a9e604d6 by scott
[Clang] Add VerboseOutputStream to CompilerInstance
Remove one instance of a hardcoded output stream in
CompilerInstance::ExecuteAction. There are still other cases of output
being hard-coded to standard streams in ExecuteCompilerInvocation, but
this patch covers the case when no flags like -version or -help are
passed, namely the "X warnings and Y errors generated." diagnostic.
Differential Revision: https://reviews.llvm.org/D53768
llvm-svn: 375442
The file was modifiedclang/include/clang/Frontend/CompilerInstance.h
The file was modifiedclang/unittests/Frontend/OutputStreamTest.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
Commit 502a509e478a5e6625b58d87b484aacd2387c64d by llvm-dev
SemaTemplateDeduction - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 375443
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
Commit 8f2dac471ad9acb751f8424e3c2dd13d5a709e15 by sander.desmalen
Reverted r375425 as it broke some buildbots.
llvm-svn: 375444
The file was modifiedllvm/lib/CodeGen/RegUsageInfoCollector.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-reg-copy.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.cpp
The file was removedllvm/test/CodeGen/AArch64/wrong-callee-save-size-after-livedebugvariables.mir
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/ARM/ARMFrameLowering.h
Commit 7c15c4fb1745eb80d034f1ce3e2313b4c900bd23 by llvm-dev
[X86] Rename matchBitOpReduction to matchScalarReduction. NFCI.
This doesn't need to be just for bitops, but the ops do need to be fully
associative.
llvm-svn: 375445
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 33092194f2cefecc75b0fd90ea21843e3550d206 by Stanislav.Mekhanoshin
[AMDGPU] Select AGPR in PHI operand legalization
If a PHI defines AGPR legalize its operands to AGPR. At the moment we
can get an AGPR PHI with VGPR operands. I am not aware of any problems
as it seems to be handled gracefully in RA, but this is not right
anyway.
It also slightly decreases VGPR pressure in some cases because we do not
have to a copy via VGPR.
Differential Revision: https://reviews.llvm.org/D69206
llvm-svn: 375446
The file was modifiedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Commit b5234b64af83cb607e358eb77555f7f30ec0ced4 by Matthew.Arsenault
AMDGPU: Slightly restructure m0 init code
This will allow using another operation to produce the glue in a future
change.
llvm-svn: 375447
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
Commit dd6cf159bab7cfa5dd61670d5048dab48c934eba by Matthew.Arsenault
AMDGPU: Stop adding m0 implicit def to SGPR spills
r375293 removed the SGPR spilling with scalar stores path, so this is no
longer necessary. This also always had the defect of adding the def even
when this path wasn't in use.
llvm-svn: 375448
The file was modifiedllvm/test/CodeGen/AMDGPU/stack-slot-color-sgpr-vgpr-spills.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-term.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Commit 8ebbf25cb1e9b2c95903917b2aa72363e5b20a42 by Matthew.Arsenault
AMDGPU: Erase redundant redefs of m0 in SIFoldOperands
Only handle simple inter-block redefs of m0 to the same value. This
avoids interference from redefs of m0 in SILoadStoreOptimzer. I was
initially teaching that pass to ignore redefs of m0, but having them not
exist beforehand is much simpler.
This is in preparation for deleting the current special m0 handling in
SIFixSGPRCopies to allow the register coalescer to handle the difficult
cases.
llvm-svn: 375449
The file was addedllvm/test/CodeGen/AMDGPU/fold-operands-remove-m0-redef.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
Commit 38038f116f7b948a700e0edc4d3687c7b7fda926 by Matthew.Arsenault
AMDGPU: Use CopyToReg for interp intrinsic lowering
This doesn't use the default value, so doesn't benefit from the hack to
help optimize it.
llvm-svn: 375450
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.interp.f16.ll
Commit 6f0ae81512c17ae8fb1033dc4e0b3d4c2424742c by quentin.colombet
[GISel][CombinerHelper] Add a combine turning shuffle_vector into
concat_vectors
Teach the CombinerHelper how to turn shuffle_vectors, that concatenate
vectors, into concat_vectors and add this combine to the AArch64
pre-legalizer combiner.
Differential Revision: https://reviews.llvm.org/D69149
llvm-svn: 375452
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit e5ecba4f53e77210c960606b4a3b5a411a4d5823 by dallasftball
[clang-fuzzer] Add new fuzzer target for Objective-C
Summary:
- Similar to that of `clang-fuzzer` itself but instead only
targets Objective-C source files via cc1
- Also adds an example corpus directory containing some
input for Objective-C
Subscribers: mgorny, jfb, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69171
llvm-svn: 375453
The file was addedclang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp
The file was modifiedclang/tools/clang-fuzzer/Dockerfile
The file was modifiedclang/tools/clang-fuzzer/README.txt
The file was modifiedclang/tools/clang-fuzzer/ClangFuzzer.cpp
The file was addedclang/tools/clang-fuzzer/corpus_examples/objc/ClassCategory.m
The file was addedclang/tools/clang-fuzzer/corpus_examples/objc/SharedInstance.m
The file was modifiedclang/tools/clang-fuzzer/CMakeLists.txt
The file was addedclang/tools/clang-fuzzer/corpus_examples/objc/BasicClass.m
The file was modifiedclang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
The file was modifiedclang/tools/clang-fuzzer/handle-cxx/handle_cxx.h
The file was addedclang/tools/clang-fuzzer/corpus_examples/objc/ClassExtension.m
Commit ed870cce676ec873d5d0c9e084744ffba0eb67fc by Adrian Prantl
Found more timeouts to unify.
llvm-svn: 375454
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemote_qThreadStopInfo.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteKill.py
Commit 7cd7f4a83b7a4ab852734ad9188dde14dcfb5072 by lebedev.ri
[CVP] No-wrap deduction for `shl`
Summary: This is the last `OverflowingBinaryOperator` for which we don't
deduce flags. D69217 taught
`ConstantRange::makeGuaranteedNoWrapRegion()` about it.
The effect is better than of the `mul` patch (D69203):
| statistic                              |     old |     new | delta | %
change |
| correlated-value-propagation.NumAddNUW |    7145 |    7144 |    -1 |
-0.0140% |
| correlated-value-propagation.NumAddNW  |   12126 |   12125 |    -1 |
-0.0082% |
| correlated-value-propagation.NumAnd    |     443 |     446 |     3 |
0.6772% |
| correlated-value-propagation.NumNSW    |    5986 |    7158 |  1172 |
19.5790% |
| correlated-value-propagation.NumNUW    |   10512 |   13304 |  2792 |
26.5601% |
| correlated-value-propagation.NumNW     |   16498 |   20462 |  3964 |
24.0272% |
| correlated-value-propagation.NumShlNSW |       0 |    1172 |  1172 | 
       |
| correlated-value-propagation.NumShlNUW |       0 |    2793 |  2793 | 
       |
| correlated-value-propagation.NumShlNW  |       0 |    3965 |  3965 | 
       |
| instcount.NumAShrInst                  |   13824 |   13790 |   -34 |
-0.2459% |
| instcount.NumAddInst                   |  277584 |  277586 |     2 |
0.0007% |
| instcount.NumAndInst                   |   66061 |   66056 |    -5 |
-0.0076% |
| instcount.NumBrInst                    |  709153 |  709147 |    -6 |
-0.0008% |
| instcount.NumICmpInst                  |  483709 |  483708 |    -1 |
-0.0002% |
| instcount.NumSExtInst                  |   79497 |   79496 |    -1 |
-0.0013% |
| instcount.NumShlInst                   |   40691 |   40654 |   -37 |
-0.0909% |
| instcount.NumSubInst                   |   61997 |   61996 |    -1 |
-0.0016% |
| instcount.NumZExtInst                  |   68208 |   68211 |     3 |
0.0044% |
| instcount.TotalBlocks                  |  843916 |  843910 |    -6 |
-0.0007% |
| instcount.TotalInsts                   | 7387528 | 7387448 |   -80 |
-0.0011% |
Reviewers: nikic, reames, sanjoy, timshen
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69277
llvm-svn: 375455
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/shl.ll
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 8c6913a07bf5e8e4888380f7dfd6611b1bb1fff2 by jlettner
[lit] Remove redundancy from names and comments
llvm-svn: 375456
The file was modifiedllvm/utils/lit/lit/worker.py
The file was modifiedllvm/utils/lit/lit/LitTestCase.py
The file was modifiedllvm/utils/lit/lit/run.py
Commit ef9a0278f0ac3ccf5eb3bd5f8716a930685402e4 by Matthew.Arsenault
AMDGPU: Select basic interp directly from intrinsics
llvm-svn: 375457
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 3330cad630772c76fcf5b49bb25d973f43de64aa by jlettner
[lit] Simplify test scheduling via multiprocessing.Pool
llvm-svn: 375458
The file was modifiedllvm/utils/lit/lit/run.py
Commit 3434472ed74141848634b5eb3cd625d651e22562 by Jonas Devlieghere
XFAIL TestLocalVariables.py on Windows
This test has been failing for a while on the Windows bot.
https://bugs.llvm.org/show_bug.cgi?id=43752
llvm-svn: 375459
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/c/local_variables/TestLocalVariables.py
Commit 97263fa2ddd21661b90085845fed61b9b5dec367 by Austin.Kerbow
AMDGPU/GlobalISel: Legalize fast unsafe FDIV
Reviewers: arsenm
Reviewed By: arsenm
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka,
dstuttard, tpr, t-tye, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69231
llvm-svn: 375460
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fast-unsafe-fdiv.mir
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Commit 0b4368cbfbaf477c170b76e7704ce5e745cc0178 by Lang Hames
[examples] Add a dependency on ExecutionEngine to LLJITWithObjectCache
example.
ExecutionEngine.cpp contains the anchor() for the ObjectCache base
class, so we need an explicit dependency on it.
Patch by Stephen Neuendorffer. Thanks Stephen!
llvm-svn: 375461
The file was modifiedllvm/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt
Commit 95c184cd0aaf2ba749b08bb1a2af9d3f57ed3ca1 by llvm-dev
[X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) movmsk v2X64
tests
llvm-svn: 375462
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
Commit b446356bf33ef81f27ab84b9a804f153c2328217 by llvm-dev
[X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) -> MOVMSK+CMP
reduction combine
llvm-svn: 375463
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
Commit 667c2eb08b92907b260aee64a25250f610fcdc30 by Adrian Prantl
Factor out common test functionality into a helper class. (NFC)
llvm-svn: 375464
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
Commit e57fe85a599a8cc4990d6f4605f86b89dcb952b3 by Adrian Prantl
whitespace cleanup
llvm-svn: 375465
The file was modifiedlldb/unittests/Expression/DWARFExpressionTest.cpp
Commit 8896d073b1900d34dda4cade101409d08dc0f7dd by bigcheesegs
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which
includes search paths and diagnostics.
This is a recommit of r375322 and r375327 with a fix for the Windows
test breakage.
llvm-svn: 375466
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/Modules/context-hash.c
The file was modifiedclang/docs/Modules.rst
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
Commit cb92413c520854bfa3c3958829bde24839c80e56 by joerg
Fix -fuse-init-array decision logic on NetBSD
For NetBSD 9 and later, it is the default. On older versions, only ARM
and AArch64 use it by default.
llvm-svn: 375468
The file was modifiedclang/test/Driver/netbsd.c
The file was modifiedclang/lib/Driver/ToolChains/NetBSD.cpp
Commit 3292facc0a2a87e0f079be1b54e081801cc9bc0d by Louis Dionne
[NFC] Fix typos in CMake comment
llvm-svn: 375469
The file was modifiedlibcxx/include/CMakeLists.txt
Commit e25898d93f7649fe825a7f5232b659596069e0f1 by llvm-dev
[X86][BMI] Pull out schedule classes from bmi_andn<> and bmi_bls<>
Stop hardwiring classes
llvm-svn: 375470
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrArithmetic.td
Commit e17b658fc75337c1de0cdd467f35cfa4a85939b1 by eugeni.stepanov
[hwasan] Workaround unwinder issues in try-catch test.
Android links the unwinder library to every DSO. The problem is,
unwinder has global state, and hwasan implementation of personality
function wrapper happens to rub it the wrong way.
Switch the test to static libc++ as a temporary workaround.
llvm-svn: 375471
The file was modifiedcompiler-rt/test/hwasan/TestCases/try-catch.cpp
Commit d56203201f8a1f11abb913c4dfc0bf9c61432d1a by eugeni.stepanov
Fix lld detection in standalone compiler-rt.
Summary: Right now all hwasan tests on Android are silently disabled
because they require "has_lld" and standalone compiler-rt can not (and
AFAIK was never able to) set it.
Reviewers: pcc, dyung
Subscribers: dberris, mgorny, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69196
llvm-svn: 375472
The file was modifiedcompiler-rt/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/config-ix.cmake
Commit b94ac8a2632968d3961d528faa75d68a517b3bc4 by jlettner
[lit] Move increase_process_limit to ParallelRun
Increasing the process limit only makes sense when we use multiple
processes.
llvm-svn: 375474
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/lit/main.py
Commit 04edd1893c2d0f35880fd5f81e78dc23979df0b9 by lawrence_danna
remove multi-argument form of PythonObject::Reset()
Summary: With this patch, only the no-argument form of `Reset()` remains
in PythonDataObjects.   It also deletes PythonExceptionState in favor of
PythonException, because the only call-site of PythonExceptionState was
also using Reset, so I cleaned up both while I was there.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69214
llvm-svn: 375475
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/scripts/Python/python-wrapper.swig
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
The file was removedlldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp
The file was modifiedlldb/scripts/lldb.swig
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was removedlldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.cpp
The file was removedlldb/source/Plugins/ScriptInterpreter/Python/PythonExceptionState.h
The file was modifiedlldb/scripts/Python/python-extensions.swig
The file was modifiedlldb/unittests/ScriptInterpreter/Python/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
Commit d602e0d0cab270761553c79d2e42b8ac6b756157 by lawrence_danna
fix PythonDataObjectsTest.TestExceptions on windows
Looks like on windows googlemock regexes treat newlines differently from
on darwin.    This patch fixes the regex in this test so it will work on
both.
Fixes: https://reviews.llvm.org/D69214 llvm-svn: 375477
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
Commit 114de1eab29c06ac097c0e97feb713d616798f7a by michael.hliao
Minor coding style fix. NFC.
llvm-svn: 375478
The file was modifiedclang/lib/Sema/SemaLambda.cpp
Commit fb042b094fda351b59f1b00fe6235fc55d0f79b9 by kousikk
Refactor DependencyScanningTool to its own file
Summary: There's no behavior change - just moving DependencyScanningTool
to its own file since this tool can be reused across both
clang-scan-deps binary and an interface exposed as part of libClang
APIs.
Reviewers: arphaman, jkorous, Bigcheese, dexonsmith
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69186
llvm-svn: 375483
The file was addedclang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
The file was modifiedclang/lib/Tooling/DependencyScanning/CMakeLists.txt
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp
The file was addedclang/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp
Commit 4e039e2720f97753b4d5d2c183cbf240c9f1e259 by llvmgnsyncbot
gn build: Merge r375483
llvm-svn: 375484
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn
Commit e659fff2fb7203ae949f32b5e50d030738c33f5e by martin
[CMake] Allow overriding MSVC_DIA_SDK_DIR via CMake
This eases using it in cross-msvc setups.
Differential Revision: https://reviews.llvm.org/D69239
llvm-svn: 375485
The file was modifiedllvm/cmake/config-ix.cmake
Commit 3fe1c88bb2bdaddacbd1792c0c42ae91382cc17e by martin
[CMake] [WinMsvc] Look for includes and libs in ${MSVC_BASE}/atlmfc
This is necessary if building with the DIA SDK enabled.
Differential Revision: https://reviews.llvm.org/D69240
llvm-svn: 375486
The file was modifiedllvm/cmake/platforms/WinMsvc.cmake
Commit 64226b2df66741a97b6095ae1373154b29d2619e by benny.kra
[clang-fuzzer] Update proto fuzzer example for r375453.
llvm-svn: 375487
The file was modifiedclang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp
Commit 3ca2b17f847d0615f7e0d4fdd8040f3abfde941e by benny.kra
[FrontendTests] Don't actually run the full compiler, parsing is
sufficient.
llvm-svn: 375488
The file was modifiedclang/unittests/Frontend/OutputStreamTest.cpp
Commit 2108a974f78afe5b098758e1a517cd159dcae95c by benny.kra
Revert "[FrontendTests] Don't actually run the full compiler, parsing is
sufficient."
This reverts commit 375488.
llvm-svn: 375489
The file was modifiedclang/unittests/Frontend/OutputStreamTest.cpp
Commit 1876e6c83c7a713de2851af686417892cd717adc by ro
[builtins][test] Avoid unportable mmap call in clear_cache_test.c
Within the last two weeks, the Builtins-*-sunos :: clear_cache_test.c
started to FAIL on Solaris.  Running it under truss shows
  mmap(0x00000000, 128, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, 0, 0) Err#22 EINVAL
_exit(1)
While there are several possible reasons mmap can return EINVAL on
Solaris, it turns out it's this one (from mmap(2)):
  MAP_ANON  was  specified,  but the file descriptor was not
  -1.
And indeed even the Linux mmap(2) documents this as unportable:
  MAP_ANONYMOUS
         The mapping is not backed by any file; its contents are
initial‐
         ized to zero.  The fd argument is ignored; however, some
imple‐
         mentations require fd to be -1 if MAP_ANONYMOUS (or MAP_ANON)
is
         specified, and portable applications should  ensure  this. 
The
This patch follows this advise.  Tested on x86_64-pc-linux-gnu,
amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.
Differential Revision: https://reviews.llvm.org/D68455
llvm-svn: 375490
The file was modifiedcompiler-rt/test/builtins/Unit/clear_cache_test.c
Commit ecc999101aadc8dc7d4af9fd88be10fe42674aa0 by benny.kra
[FrontendTests] Try again to make test not write an output file
Setting the output stream to nulls seems to work.
llvm-svn: 375491
The file was modifiedclang/unittests/Frontend/OutputStreamTest.cpp
Commit 78d632d1055467dd2880dc9ff6dfdc554505eda7 by grimar
[LLVMDebugInfoPDB] - Use cantFail() instead of assert().
Currently injected-sources-native.test fails with "Expected<T> value was
in success state.
(Note: Expected<T> values in success mode must still be checked prior to
being destroyed)" when llvm is compiled with
LLVM_ENABLE_ABI_BREAKING_CHECKS in Release.
The problem is that getStringForID returns Expected<StringRef> and
Expected value must always be checked, even if it is in success state.
Checking with assert only helps in Debug and is wrong.
Differential revision: https://reviews.llvm.org/D69251
llvm-svn: 375492
The file was modifiedllvm/lib/DebugInfo/PDB/Native/NativeEnumInjectedSources.cpp
Commit 0f4186779e0415de8c771cba32f10b3023700ad7 by eleviant
[ThinLTO] Don't internalize during promotion
Differential revision: https://reviews.llvm.org/D69107
llvm-svn: 375493
The file was modifiedllvm/test/ThinLTO/X86/weak_externals.ll
The file was addedllvm/test/ThinLTO/X86/not-internalized.ll
The file was modifiedllvm/lib/Transforms/IPO/FunctionImport.cpp
Commit 17f5d2b1a5c942f1c0576c50274dbb07b6dc7036 by gchatelet
[Alignment][NFC] Attributes use Align/MaybeAlign
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: jholewinski, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69278
llvm-svn: 375495
The file was modifiedllvm/include/llvm/IR/InstrTypes.h
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/include/llvm/IR/Function.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
The file was modifiedllvm/lib/IR/AttributeImpl.h
The file was modifiedllvm/unittests/IR/AttributesTest.cpp

Summary

  1. Check out LNT and test-sute under test directory by default. (details)
  2. Removed dependency on compiler-rt for llvm-clang-lld-x86_64-scei-ps4-* (details)
  3. Cosmetic. NFC. (details)
Commit 58ee3f8924194be6fe02a30156a893c931a05439 by gkistanova
Check out LNT and test-sute under test directory by default.
llvm-svn: 375479
The file was modifiedzorg/buildbot/builders/ClangBuilder.py
Commit 4cb2d24c7ba06bd05248617461d6e28318711dd7 by gkistanova
Removed dependency on compiler-rt for llvm-clang-lld-x86_64-scei-ps4-*
builders.
llvm-svn: 375481
The file was modifiedbuildbot/osuosl/master/config/builders.py
Commit e245085f5106509a985098dddef3e97ad5690371 by gkistanova
Cosmetic. NFC.
llvm-svn: 375482
The file was modifiedzorg/buildbot/process/factory.py