AbortedChanges

Summary

  1. [ARM] Add earlyclobber for cross beat MVE instructions (details)
  2. [ASTImporter] Add development internals docs (details)
  3. [X86] negateFMAOpcode - extend to support FMADDSUB/FMSUBADD and output (details)
  4. [lldb][NFC] Remove ArgEntry::ref member (details)
  5. [Orc] Address the remaining move-capture FIXMEs (details)
  6. [Orc] Roll back ThreadPool to std::function (details)
  7. [llvm-size] Fix spelling errors (Berkely -> Berkeley) (details)
  8. [ADT] Make DenseMap use allocate_buffer (details)
  9. gn build: (manually) merge r371787 (details)
  10. gn build: Merge r371822 (details)
  11. gn build: (manually) merge r371834 (details)
  12. Revert "gn build: (manually) merge r371834" (details)
  13. gn build: (manually) merge r371834, take 2 (details)
  14. lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars. (details)
  15. Fix depfile name construction (details)
  16. clang-format: Add support for formatting (some) lambdas with explicit (details)
  17. [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description (details)
  18. [ADT] Remove a workaround for old versions of clang (details)
  19. [PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC (details)
  20. gn build: pacify "gn format" after 371102 (details)
  21. [Sema][Typo Correction] Fix potential infite loop on ambiguity checks (details)
  22. Fix a few spellos in docs. (details)
  23. [X86] Use incDecVectorConstant to simplify the min/max code in (details)
  24. [docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation (details)
  25. Fix build in C++20 (details)
  26. Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than (details)
Commit b7b7f26220c63ff7d62e83a23480c0eb1e3ebbc2 by david.green
[ARM] Add earlyclobber for cross beat MVE instructions
rL367544 added @earlyclobbers for the MVE VREV64 instruction. This adds
the same for a number of other 32bit instructions that are similarly
unpredictable if the destination equals the source (due to the cross
beat nature of the instructions). This includes:
VCADD.f32
VCADD.i32
VCMUL.f32
VHCADD.s32
VMULLT/B.s/u32
VQDMLADH{X}.s32
VQRDMLADH{X}.s32
VQDMLSDH{X}.s32
VQRDMLSDH{X}.s32
VQDMULLT/B.s32 with Qm and Rm
No tests here as this would require intrinsics (or very interesting
codegen) to manifest. The tests will follow naturally as the intrinsics
are added.
Differential Revision: https://reviews.llvm.org/D67462
llvm-svn: 371838
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
Commit 9eaa981e8efd0a7d2230212e9dbc2ce366bcdbb8 by gabor.marton
[ASTImporter] Add development internals docs
Reviewers: a_sidorin, shafik, teemperor, gamesh411, balazske, dkrupp,
a.sidorin
Subscribers: rnkovacs, Szelethus, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66336
llvm-svn: 371839
The file was modifiedclang/docs/InternalsManual.rst (diff)
Commit 930ebc15a6398710e84eea16b735721fe4a2c2fd by llvm-dev
[X86] negateFMAOpcode - extend to support FMADDSUB/FMSUBADD and output
negation. NFCI.
Some prep work for PR42863, this change allows us to move all the FMA
opcode mappings into the negateFMAOpcode helper.
For the FMADDSUB/FMSUBADD cases, we can only negate the accumulator -
any other negations will result in an error.
llvm-svn: 371840
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit 0d9a201e2624998922f825ebbe01aae0cce4bbd5 by Raphael Isemann
[lldb][NFC] Remove ArgEntry::ref member
The StringRef should always be identical to the C string, so we might as
well just create the StringRef from the C-string. This might be slightly
slower until we implement the storage of ArgEntry with a string instead
of a std::unique_ptr<char[]>. Until then we have to do the additional
strlen on the C string to construct the StringRef.
llvm-svn: 371842
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp (diff)
The file was modifiedlldb/include/lldb/Utility/Args.h (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlugin.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp (diff)
The file was modifiedlldb/source/Interpreter/CommandAlias.cpp (diff)
The file was modifiedlldb/source/Interpreter/CommandObject.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectRegister.cpp (diff)
The file was modifiedlldb/source/Interpreter/OptionValueDictionary.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp (diff)
The file was modifiedlldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was modifiedlldb/unittests/Utility/ArgsTest.cpp (diff)
The file was modifiedlldb/source/Breakpoint/BreakpointIDList.cpp (diff)
The file was modifiedlldb/source/Utility/Args.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectApropos.cpp (diff)
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectType.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp (diff)
The file was modifiedlldb/source/Interpreter/Options.cpp (diff)
Commit ce74c3b19f5b60d427977f21e506c26a3f40bd7f by benny.kra
[Orc] Address the remaining move-capture FIXMEs
This required spreading unique_function a bit more, which I think is a
good thing.
llvm-svn: 371843
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/Legacy.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h (diff)
The file was modifiedllvm/include/llvm/Support/ThreadPool.h (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h (diff)
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/JITSymbol.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h (diff)
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/RuntimeDyld.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp (diff)
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h (diff)
Commit 6baaa4be7831ffacc775b421dbc845d6ca6e89b8 by benny.kra
[Orc] Roll back ThreadPool to std::function
MSVC doesn't allow move-only types in std::packaged_task. Boo.
llvm-svn: 371844
The file was modifiedllvm/include/llvm/Support/ThreadPool.h (diff)
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp (diff)
The file was modifiedllvm/examples/SpeculativeJIT/SpeculativeJIT.cpp (diff)
Commit cd893e5ba575fb1c7f2f39dabe9799708ae89412 by jh7370
[llvm-size] Fix spelling errors (Berkely -> Berkeley)
llvm-svn: 371845
The file was modifiedllvm/tools/llvm-size/llvm-size.cpp (diff)
Commit 266f6347dbb837ea9f008b628666c086d0618d5b by benny.kra
[ADT] Make DenseMap use allocate_buffer
This unlocks some goodies like sized deletion and gets the alignment
right on platforms that chose to provide a lower default new alignment.
llvm-svn: 371846
The file was modifiedllvm/include/llvm/ADT/DenseMap.h (diff)
Commit b6f4a7a107ee44859bdd2b09e72d64dd0726cf95 by nicolasweber
gn build: (manually) merge r371787
llvm-svn: 371847
The file was modifiedllvm/utils/gn/secondary/clang/unittests/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn (diff)
The file was addedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
Commit 902e553359eeea14881e8ae6aa28fe28b7bba5c6 by nicolasweber
gn build: Merge r371822
llvm-svn: 371848
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/BUILD.gn (diff)
Commit abc7e2b6004cd693cf3b6dedbc7908e099c7ac6a by nicolasweber
gn build: (manually) merge r371834
llvm-svn: 371849
The file was removedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn (diff)
Commit d4604e057883e412514799722aea66cf27ee8943 by nicolasweber
Revert "gn build: (manually) merge r371834"
This reverts commit abc7e2b6004cd693cf3b6dedbc7908e099c7ac6a. The commit
was incomplete. I'll revert and reland the full commit, so that the
correct change is a single commit.
llvm-svn: 371850
The file was addedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn (diff)
Commit 67503ba556cd4008179491db6d024ec0f9d9c9cd by nicolasweber
gn build: (manually) merge r371834, take 2
llvm-svn: 371851
The file was modifiedllvm/utils/gn/secondary/clang/lib/AST/BUILD.gn (diff)
The file was removedllvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/utils/TableGen/BUILD.gn (diff)
Commit d48ea5da94165dbaba14b1281b74994fe970a7e0 by nicolasweber
lld-link: Add a flag /lldignoreenv that makes lld-link ignore env vars.
This is useful for enforcing that builds are independent of the
environment; it can be used when all system library paths are added via
/libpath: already. It's similar ot cl.exe's /X flag.
Since it should also affect %LINK% (the other caller of
`Process::GetEnv` in lld/COFF), the early-option-parsing needs to move
around a bit. The options are:
- Add a manual loop over the argv ArrayRef and look for "/lldignoreenv".
This repeats the name of the flag in both Options.td and in
DriverUtils.cpp.
- Add yet another table.ParseArgs() call just for /lldignoreenv before
adding %LINK%.
- Use the existing early ParseArgs() that's there for --rsp-quoting and
use
it for /lldignoreenv for %LINK% as well. This means --rsp-quoting
and /lldignoreenv can't be passed via %LINK%.
I went with the third approach.
Differential Revision: https://reviews.llvm.org/D67456
llvm-svn: 371852
The file was modifiedlld/COFF/DriverUtils.cpp (diff)
The file was modifiedlld/test/COFF/libpath.test (diff)
The file was modifiedlld/COFF/Options.td (diff)
The file was modifiedlld/COFF/Driver.cpp (diff)
The file was modifiedlld/docs/ReleaseNotes.rst (diff)
The file was modifiedlld/test/COFF/linkenv.test (diff)
The file was modifiedlld/COFF/Driver.h (diff)
Commit ab9acda026e4beee458a953f02fd8c342c89ad56 by luke.cheeseman
Fix depfile name construction
- When using -o, the provided filename is using for constructing the
depfile
name (when -MMD is passed).
- The logic looks for the rightmost '.' character and replaces what
comes after
with 'd'.
- This works incorrectly when the filename has no extension and the
directories
have '.' in them (e.g. out.dir/test)
- This replaces the funciton to just llvm::sys::path functionality
Differential Revision: https://reviews.llvm.org/D67542
llvm-svn: 371853
The file was addedclang/test/Driver/metadata-with-dots.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
Commit 41f4d68a50beeaeb821baa29b5591a7146b98b05 by nicolasweber
clang-format: Add support for formatting (some) lambdas with explicit
template parameters.
This patch makes cases work where the lambda's template list doesn't
contain any of + - ! ~ / % << | || && ^ == != >= <= ? : true false
(see added FIXME).
Ports r359967 to clang-format.
Differential Revision: https://reviews.llvm.org/D67246
llvm-svn: 371854
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp (diff)
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)
Commit 818e5c9503a4a0aaa18d3f5c6da5b2c491d58da1 by jh7370
[docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description
Behaviour was recently added to this switch to strip debug sections too.
See r369761.
This change also makes the description for the --strip-unneeded switch
consistent between the two docs.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67546
llvm-svn: 371855
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst (diff)
The file was modifiedllvm/docs/CommandGuide/llvm-objcopy.rst (diff)
Commit b4160cb94c54f0b31d0ce14694950dac7b6cd83f by benny.kra
[ADT] Remove a workaround for old versions of clang
llvm-svn: 371856
The file was modifiedllvm/include/llvm/ADT/DenseMap.h (diff)
Commit 455a0db01a04ca28b97f363fc822cbbadf89a59e by Jinsong Ji
[PowerPC][NFC] Move codegen tests to PowerPC from MIR/PowerPC
All tests with -run-pass !=none should not in MIR/, See MIR/README.
``` Tests for codegen passes should NOT be here but in
test/CodeGen/sometarget. As a rule of thumb this directory should only
contain tests using
'llc -run-pass none'.
```
llvm-svn: 371857
The file was removedllvm/test/CodeGen/MIR/PowerPC/prolog_vec_spills.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/peephole-miscompile-extswsli.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/ifcvt-diamond-ret.mir
The file was addedllvm/test/CodeGen/PowerPC/machine-backward-cp.mir
The file was addedllvm/test/CodeGen/PowerPC/peephole-miscompile-extswsli.mir
The file was addedllvm/test/CodeGen/PowerPC/prolog_vec_spills.mir
The file was addedllvm/test/CodeGen/PowerPC/ifcvt-diamond-ret.mir
The file was removedllvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir
Commit e7e8b51b0314d414ce647ca790186ecbbe567fd7 by nicolasweber
gn build: pacify "gn format" after 371102
llvm-svn: 371858
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn (diff)
Commit 6d186504216446a1620628057c10bddb9b0b9085 by dallasftball
[Sema][Typo Correction] Fix potential infite loop on ambiguity checks
Summary: This fixes a bug introduced in D62648, where Clang could
infinite loop if it became stuck on a single TypoCorrection when it was
supposed to be testing ambiguous corrections. Although not a common
case, it could happen if there are multiple possible corrections with
the same edit distance.
The fix is simply to wipe the TypoExpr from the `TransformCache` so that
the call to `TransformTypoExpr` doesn't use the `CachedEntry`.
Reviewers: rsmith
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67515
llvm-svn: 371859
The file was addedclang/test/Sema/typo-correction-ambiguity.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp (diff)
Commit bb69208df851f94bdd51c4f14b1cf54be3ada599 by nicolasweber
Fix a few spellos in docs.
(Trying to debug an incremental build thing on a bot...)
llvm-svn: 371860
The file was modifiedllvm/docs/PDB/MsfFile.rst (diff)
The file was modifiedllvm/docs/LangRef.rst (diff)
The file was modifiedllvm/docs/SpeculativeLoadHardening.md (diff)
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl07.rst (diff)
The file was modifiedllvm/docs/BuildingADistribution.rst (diff)
The file was modifiedllvm/docs/CommandGuide/llvm-nm.rst (diff)
The file was modifiedllvm/docs/ORCv2.rst (diff)
The file was modifiedllvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst (diff)
Commit 8e0f104916f1a69a1351bd623a105633bb183401 by craig.topper
[X86] Use incDecVectorConstant to simplify the min/max code in
LowerVSETCC.
incDecVectorConstant is used for a similar reason in
LowerVSETCCWithSUBUS so we might as well share the code.
llvm-svn: 371861
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit a2497b43e3998d3e4e22380906f0d3bc5c49adff by jh7370
[docs][llvm-readelf][llvm-readobj] Improve --stack-sizes documentation
llvm-readobj's document was missing --stack-sizes entirely from its
document, so this patch adds it. It also adds a note to the llvm-readelf
description that the switch is only implemented for GNU style output
currently. For reference, --stack-sizes was added in r367942.
Reviewed by: MaskRay
Differential Revision: https://reviews.llvm.org/D67548
llvm-svn: 371862
The file was modifiedllvm/docs/CommandGuide/llvm-readobj.rst (diff)
The file was modifiedllvm/docs/CommandGuide/llvm-readelf.rst (diff)
Commit 24c1ab26331ae218f27659a1a26cc72d8a264482 by eric
Fix build in C++20
llvm-svn: 371863
The file was modifiedlibcxx/src/experimental/memory_resource.cpp (diff)
Commit 7b81a13bfcd1d92f478109f1c87971dafba639d2 by mclow.lists
Only initialize the streams cout/wcout/cerr/wcerr etc once, rather than
any time Init::Init is called. Fixes PR#43300
llvm-svn: 371864
The file was addedlibcxx/test/std/input.output/iostreams.base/ios.base/ios.types/ios_Init/ios_Init.multiple.pass.cpp
The file was modifiedlibcxx/src/iostream.cpp (diff)