SuccessChanges

Summary

  1. tsan: fix Go ppc64le build (details)
  2. [LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC. (details)
  3. [MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC] (details)
  4. Change Comments SmallVector to std::vector in DebugLocStream [NFC] (details)
  5. [MIPS GlobalISel] Add MSA registers to fprb. Select vector load, store (details)
  6. [LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC. (details)
  7. [LLD] [COFF] Update a leftover comment after SVN r374869. NFC. (details)
  8. [llvm-locstats] Fix 'only params' no entry value stats (details)
  9. Fix uninitialized variable warnings. NFCI. (details)
  10. [DebugInfo] Remove some users of DBG_VALUEs IsIndirect field (details)
  11. [X86] Resolve KnownUndef/KnownZero bits into target shuffle masks in (details)
  12. [DebugInfo] Add interface for pre-calculating the size of emitted DWARF (details)
  13. [Alignment][NFC] Remove dependency on (details)
  14. [DebugInfo] Add a DW_OP_LLVM_entry_value operation (details)
  15. [Concepts] Concept Specialization Expressions (details)
  16. gn build: Merge r374882 (details)
  17. [Alignment] Migrate Attribute::getWith(Stack)Alignment (details)
  18. [clang-tools-extra] Fix overzealous linking of dylib to clangTidy (details)
  19. [InstCombine] fold a shifted bool zext to a select (2nd try) (details)
  20. [ARM][MVE] validForTailPredication insts (details)
  21. [Windows][NFC] Fix tests after r374528. (details)
  22. [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign (details)
  23. [lld] Check for branch range overflows. (details)
  24. [clangd] Propagate main context into ClangdServer (details)
  25. [AST] Remove unused Sema includes to fix a cyclic dependency from Sema (details)
  26. [AsmPrinter] Fix unused variable warning in Release builds. NFC. (details)
  27. Reapply: [Modules][PCH] Hash input files content (details)
  28. a test commit access (details)
  29. revert git test commit (details)
  30. Revert 374882 "[Concepts] Concept Specialization Expressions" (details)
  31. gn build: Merge r374899 (details)
  32. [clangd][NFC] Update comments to use triple-slashes (details)
  33. [DAGCombiner] fold select-of-constants based on sign-bit test (details)
  34. [Concepts] Concept Specialization Expressions (details)
  35. gn build: Merge r374903 (details)
  36. Skip PExpect tests under ASAN, I can't get them to work reliably. (details)
  37. Increase gdbremote_testcase timeouts when running under ASAN. (details)
  38. [Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp (details)
  39. [AMDGPU] Allow DPP combiner to work with REG_SEQUENCE (details)
  40. CFI: wrong type passed to llvm.type.test with multiple inheritance (details)
  41. [AMDGPU] Support mov dpp with 64 bit operands (details)
  42. SBFile::GetFile: convert SBFile back into python native files. (details)
  43. convert SBDebugger::***FileHandle() wrappers to native files. (details)
  44. [lld][WebAssembly] Fix static linking of -fPIC code with external (details)
  45. [AIX][XCOFF] Output XCOFF object text section header and symbol entry (details)
  46. [llvm-profdata] Remove (details)
  47. eliminate virtual methods from PythonDataObjects (details)
  48. [VirtualFileSystem] Support virtual working directory in the (details)
  49. [MemorySSA] Update DomTree before applying MSSA updates. (details)
  50. [libomptarget][nfc] Make interface.h target independent (details)
  51. [NewGVN] Check that call has an access. (details)
  52. Add more information to JSON AST dumping of source locations. (details)
  53. [X86] Make memcmp() use PTEST if possible and also enable AVX1 (details)
  54. [XCOFF] Output object text section header and symbol entry for program (details)
  55. remove FILE* usage from SBStream.i (details)
  56. [libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF. (details)
  57. Reland [Driver] Fix -working-directory issues (details)
  58. [llvm-profdata] Reinstate (details)
  59. [X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs (details)
  60. Fix Driver/working-directory.c test (details)
  61. [test] Update YAML mapping in VirtualFileSystemTest (details)
  62. [llvm-objdump] Use a counter for llvm-objdump -h instead of the section (details)
  63. [clang] refactor -Wa,-W test cases. (details)
  64. [WebAssembly] Allow multivalue types in block signature operands (details)
  65. Added support for "#pragma clang section relro=<name>" (details)
  66. Revert "[VirtualFileSystem] Support virtual working directory in the (details)
  67. Fix as-w-option.c on Windows where no assembler exists (details)
  68. [Clang][OpenMP Offload] Move offload registration code to the wrapper (details)
  69. [Concept] Associated Constraints Infrastructure (details)
  70. [WebAssembly] Elide data segments for .bss sections (details)
  71. [llvm-readobj][xcoff] implement parsing overflow section header. (details)
  72. [OPENMP]Allow final clause in combined task-based directives. The (details)
  73. [OPENMP]Fix comments/params, NFC. (details)
  74. AMDGPU: Fix infinite searches in SIFixSGPRCopies (details)
  75. [llvm-lipo] Add missing cast (details)
  76. [XCOFF]implement parsing relocation information for 32-bit xcoff object (details)
  77. [lit] Add back LitTestCase (details)
  78. [JITLink] Switch to slab allocation for InProcessMemoryManager, (details)
  79. [Docs] Updates sidebar links and sets max-width property for div.body (details)
  80. [Orc] Add a method for ObjectLinkingLayer to return ownership of object (details)
  81. Remove unnecessary and inappropriate forward-declaration of Sema from (details)
  82. [lldb] Creates _liblldb symlink from cmake (details)
  83. PR43674: fix incorrect constant evaluation of 'switch' where no case (details)
  84. [Reland][VirtualFileSystem] Support virtual working directory in the (details)
  85. [dsymutil] Support and relocate base address selection entries for (details)
  86. [ASan] Refine diagnoses messages (details)
Commit cc2f68ea2dc8132270218ca14ab0e21fb71d3ec8 by dvyukov
tsan: fix Go ppc64le build
This #define is in the non-Go ppc64le build but not in the Go build.
Reviewed-in: https://reviews.llvm.org/D68046 Author: randall77 (Keith
Randall) llvm-svn: 374868
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
Commit 9318c94ebbf28beb843852246beb34082c659bae by martin
[LLD] [COFF] Wrap file location pair<StringRef,int> in Optional<>. NFC.
This makes use of it slightly clearer, and makes it match the same
construct in the lld ELF linker.
Differential Revision: https://reviews.llvm.org/D68935
llvm-svn: 374869
The file was modifiedlld/COFF/SymbolTable.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/PDB.h
Commit f7c213c9c43cba30fb22edde29ccbd19131660e4 by petar.avramovic
[MIPS GlobalISel] Refactor MipsRegisterBankInfo [NFC]
Check if size of operand LLT matches sizes of available register banks
before inspecting the opcode in order to reduce number of checks. Factor
commonly used pieces of code into functions.
Differential Revision: https://reviews.llvm.org/D68866
llvm-svn: 374870
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.h
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
Commit d46ac44ecdc82ac42510e1ce2b9cd90ee2fa7faa by david.stenberg
Change Comments SmallVector to std::vector in DebugLocStream [NFC]
This changes the 32-element SmallVector to a std::vector. When building
a RelWithDebInfo clang-8 binary, the average size of the vector was
~10000, so it does not seem very beneficial or practical to use a small
vector for that.
The DWARFBytes SmallVector grows in the same way as Comments, so perhaps
that also should be changed to a purely dynamically allocated structure,
but that requires some more code changes, so I let that remain as a
SmallVector for now.
llvm-svn: 374871
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugLocStream.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
Commit 599591f3d47cad6d70f2346c9056f4d4bbddff31 by petar.avramovic
[MIPS GlobalISel] Add MSA registers to fprb. Select vector load, store
Add vector MSA register classes to fprb, they are 128 bit wide. MSA
instructions use the same registers for both integer and floating point
operations. Therefore we only need to check for vector element size
during legalization or instruction selection.
Add helper function in MipsLegalizerInfo and switch to legalIf
LegalizeRuleSet to keep legalization rules compact since they depend on
MipsSubtarget and presence of MSA. fprb is assigned to all vector
operands. Move selectLoadStoreOpCode to MipsInstructionSelector in order
to reduce number of arguments.
Differential Revision: https://reviews.llvm.org/D68867
llvm-svn: 374872
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/load_store_vec.ll
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBanks.td
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/load_store_vec.mir
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/load_store_vec.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/load_store_vec.mir
Commit cd8759c3c29735c0460ff522be72c39c09d81223 by martin
[LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC.
llvm-svn: 374873
The file was modifiedlld/COFF/SymbolTable.cpp
Commit e0916f4fbe9e9cde88150488eaddceeef277beb2 by martin
[LLD] [COFF] Update a leftover comment after SVN r374869. NFC.
llvm-svn: 374874
The file was modifiedlld/COFF/PDB.cpp
Commit 095531ea941992a0e03bd388cff8a9fae53d3498 by djordje.todorovic
[llvm-locstats] Fix 'only params' no entry value stats
Adding the missing line.
llvm-svn: 374875
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit 4706f3be88d9cb530afb32b8d9d2bd5bfde2c881 by llvm-dev
Fix uninitialized variable warnings. NFCI.
llvm-svn: 374876
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit ed29dbaafa49bb8c9039a35f768244c394411fea by jeremy.morse.llvm
[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field
This patch kills off a significant user of the "IsIndirect" field of
DBG_VALUE machine insts. Brought up in in PR41675, IsIndirect is
techncally redundant as it can be expressed by the DIExpression of a
DBG_VALUE inst, and it isn't helpful to have two ways of expressing
things.
Rather than setting IsIndirect, have DBG_VALUE creators add an extra
deref to the insts DIExpression. There should now be no appearences of
IsIndirect=True from isel down to LiveDebugVariables / VirtRegRewriter,
which is ensured by an assertion in LDVImpl::handleDebugValue. This
means we also get to delete the IsIndirect handling in
LiveDebugVariables. Tests can be upgraded by for example swapping the
following IsIndirect=True DBG_VALUE:
  DBG_VALUE $somereg, 0, !123, !DIExpression(DW_OP_foo)
With one where the indirection is in the DIExpression, by _appending_ a
deref:
  DBG_VALUE $somereg, $noreg, !123, !DIExpression(DW_OP_foo,
DW_OP_deref)
Which both mean the same thing.
Most of the test changes in this patch are updates of that form; also
some changes in how the textual assembly printer handles these insts.
Differential Revision: https://reviews.llvm.org/D68945
llvm-svn: 374877
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll
The file was modifiedllvm/test/DebugInfo/ARM/PR16736.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-indirect-nrvo.ll
The file was modifiedllvm/test/DebugInfo/X86/spill-nontrivial-param.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FastISel.cpp
The file was modifiedllvm/test/DebugInfo/X86/safestack-byval.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
The file was modifiedllvm/test/DebugInfo/X86/dbg-addr-dse.ll
The file was modifiedllvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll
The file was modifiedllvm/test/DebugInfo/COFF/pieces.ll
The file was modifiedllvm/test/DebugInfo/X86/parameters.ll
The file was modifiedllvm/test/DebugInfo/ARM/float-stack-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/vla.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/ARM/debug-info-arg.ll
The file was modifiedllvm/test/DebugInfo/X86/live-debug-vars-dse.mir
The file was modifiedllvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
The file was modifiedllvm/lib/CodeGen/LiveDebugVariables.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll
The file was modifiedllvm/test/DebugInfo/X86/op_deref.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 70778444c7838a13ea0a8c315ad6c1830cb6b41c by llvm-dev
[X86] Resolve KnownUndef/KnownZero bits into target shuffle masks in
helper. NFCI.
llvm-svn: 374878
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 284827f32bd8d06ca1ab8a949bf96088612b1504 by david.stenberg
[DebugInfo] Add interface for pre-calculating the size of emitted DWARF
Summary: DWARF's DW_OP_entry_value operation has two operands; the first
is a ULEB128 operand that specifies the size of the second operand,
which is a DWARF block. This means that we need to be able to
pre-calculate and emit the size of DWARF expressions before emitting
them. There is currently no interface for doing this in DwarfExpression,
so this patch introduces that.
When implementing this I initially thought about running through
DwarfExpression's emission two times; first with a temporary buffer to
emit the expression, in order to being able to calculate the size of
that emitted data. However, DwarfExpression is a quite complex state
machine, so I decided against that, as it seemed like the two runs could
get out of sync, resulting in incorrect size operands. Therefore I have
implemented this in a way that we only have to run DwarfExpression once.
The idea is to emit DWARF to a temporary buffer, for which it is
possible to query the size. The data in the temporary buffer can then be
emitted to DwarfExpression's main output.
In the case of DIEDwarfExpression, a temporary DIE is used. The values
are all allocated using the same BumpPtrAllocator as for all other DIEs,
and the values are then transferred to the real value list. In the case
of DebugLocDwarfExpression, the temporary buffer is implemented using a
BufferByteStreamer which emits to a buffer in the DwarfExpression
object.
Reviewers: aprantl, vsk, NikolaPrica, djtodoro
Reviewed By: aprantl
Subscribers: hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67768
llvm-svn: 374879
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/include/llvm/CodeGen/DIE.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
Commit 0e62011df891d0e7ad904524edf705d07d12d5d4 by gchatelet
[Alignment][NFC] Remove dependency on
GlobalObject::setAlignment(unsigned)
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: arsenm, mehdi_amini, jvesely, nhaehnle, hiraditya,
steven_wu, dexonsmith, dang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68944
llvm-svn: 374880
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/unittests/IR/FunctionTest.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
The file was modifiedpolly/lib/CodeGen/LoopGeneratorsKMP.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was modifiedllvm/lib/CodeGen/LowerEmuTLS.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/Transforms/IPO/MergeFunctions.cpp
The file was modifiedllvm/lib/CodeGen/GlobalMerge.cpp
The file was modifiedllvm/lib/Transforms/IPO/CrossDSOCFI.cpp
The file was modifiedllvm/unittests/IR/ValueTest.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/unittests/IR/ConstantsTest.cpp
The file was modifiedllvm/lib/Linker/LinkModules.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/Instrumentation.cpp
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Speculation.cpp
The file was modifiedllvm/include/llvm/IR/GlobalObject.h
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedllvm/lib/IR/Globals.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Commit 1ae2d9a2bdce054560104f428e92eaef736e5c7f by david.stenberg
[DebugInfo] Add a DW_OP_LLVM_entry_value operation
Summary: Internally in LLVM's metadata we use DW_OP_entry_value
operations with the same semantics as DWARF; that is, its operand
specifies the number of bytes that the entry value covers.
At the time of emitting entry values we don't know the emitted size of
the DWARF expression that the entry value will cover. Currently the size
is hardcoded to 1 in DIExpression, and other values causes the verifier
to fail. As the size is 1, that effectively means that we can only have
valid entry values for registers that can be encoded in one byte, which
are the registers with DWARF numbers 0 to 31 (as they can be encoded as
single-byte DW_OP_reg0..DW_OP_reg31 rather than a multi-byte
DW_OP_regx). It is a bit confusing, but it seems like llvm-dwarfdump
will print an operation "correctly", even if the byte size is less than
that, which may make it seem that we emit correct DWARF for registers
with DWARF numbers > 31. If you instead use readelf for such cases, it
will interpret the number of specified bytes as a DWARF expression. This
seems like a limitation in llvm-dwarfdump.
As suggested in D66746, a way forward would be to add an internal
variant of DW_OP_entry_value, DW_OP_LLVM_entry_value, whose operand
instead specifies the number of operations that the entry value covers,
and we then translate that into the byte size at the time of emission.
In this patch that internal operation is added. This patch keeps the
limitation that a entry value can only be applied to simple register
locations, but it will fix the issue with the size operand being
incorrect for DWARF numbers > 31.
Reviewers: aprantl, vsk, djtodoro, NikolaPrica
Reviewed By: aprantl
Subscribers: jyknight, fedor.sergeev, hiraditya, llvm-commits
Tags: #debug-info, #llvm
Differential Revision: https://reviews.llvm.org/D67492
llvm-svn: 374881
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/ARM/entry-value-multi-byte-expr.ll
The file was modifiedllvm/test/DebugInfo/MIR/X86/multiple-param-dbg-value-entry.mir
The file was modifiedllvm/test/Verifier/diexpression-entry-value.ll
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbginfo-entryvals.mir
The file was modifiedllvm/test/Verifier/diexpression-valid-entry-value.ll
The file was modifiedllvm/test/DebugInfo/MIR/Hexagon/live-debug-values-bundled-entry-values.mir
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
The file was addedllvm/test/DebugInfo/Sparc/entry-value-complex-reg-expr.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/test/DebugInfo/MIR/X86/avoid-single-entry-value-location.mir
The file was addedllvm/test/Verifier/diexpression-dwarf-entry-value.ll
The file was addedllvm/test/Verifier/diexpression-entry-value-llvm-ir.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
Commit ec87b003823d63f3342cf648f55a134c1522e612 by saar
[Concepts] Concept Specialization Expressions
Part of C++20 Concepts implementation effort. Added Concept
Specialization Expressions that are created when a concept is referenced
with arguments, and tests thereof.
llvm-svn: 374882
The file was removedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was addedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/lib/Sema/SemaConcept.cpp
The file was removedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/Expr.cpp
Commit a94546987529b4410b99a66dfd268b3faacb78ec by llvmgnsyncbot
gn build: Merge r374882
llvm-svn: 374883
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit b65fa483058f1b4049c7201525779b4f49cceb80 by gchatelet
[Alignment] Migrate Attribute::getWith(Stack)Alignment
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, jdoerfert
Reviewed By: courbet
Subscribers: arsenm, jvesely, nhaehnle, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D68792
llvm-svn: 374884
The file was modifiedllvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/lib/IR/IRBuilder.cpp
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
The file was modifiedllvm/unittests/IR/AttributesTest.cpp
The file was modifiedllvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/IR/Attributes.cpp
Commit 9c9bd1657cbd3504ff719c14ece79ef2af0e0ea2 by mgorny
[clang-tools-extra] Fix overzealous linking of dylib to clangTidy
Fix accidentally making clangTidy library link to dylib.  This causes
libclang.so to also link to dylib which results in duplicate symbols
from shared and static libraries, and effectively to registering
command-line options twice.
Thanks to Sylvestre Ledru for noticing this and tracking it down to
r373786.  Fixes PR#43589.
Differential Revision: https://reviews.llvm.org/D68927
llvm-svn: 374885
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
Commit 455ce7816ce4510ce1807e7ab5946e48c205c527 by spatel
[InstCombine] fold a shifted bool zext to a select (2nd try)
The 1st attempt at rL374828 inserted the code at the wrong position
(outside of the constant-shift-amount block). Trying again with an
additional test to verify const-ness.
For a constant shift amount, add the following fold. shl (zext (i1 X)),
ShAmt --> select (X, 1 << ShAmt, 0)
https://rise4fun.com/Alive/IZ9
Fixes PR42257.
Based on original patch by @zvi (Zvi Rackover)
Differential Revision: https://reviews.llvm.org/D63382
llvm-svn: 374886
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/shift.ll
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit ce39278f2575cc0b6481924e02a0fd8632b74aa8 by sam.parker
[ARM][MVE] validForTailPredication insts
Reverse the logic for valid tail predication instructions and create a
whitelist instead. Added other instruction groups that aren't obviously
safe:
- instructions that 'narrow' their result.
- lane moves.
- byte swapping instructions.
- interleaving loads and stores.
- cross-beat carries.
- top/bottom instructions.
- complex operations.
Hopefully we should be able to add more of these instructions to the
whitelist, once we have a more concrete idea of the transform.
Differential Revision: https://reviews.llvm.org/D67904
llvm-svn: 374887
The file was modifiedllvm/unittests/Target/ARM/MachineInstrTest.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMInstrFormats.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/unittests/Target/ARM/CMakeLists.txt
Commit 86d0f8b148bd8da755cee615725e1488bbe6946e by aleksandr.urakov
[Windows][NFC] Fix tests after r374528.
Differential Revision: https://reviews.llvm.org/D67347
llvm-svn: 374888
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
Commit bae629b96622962245aad7b7dfcbce915d9c02a2 by gchatelet
[Alignment][NFC] Value::getPointerAlignment returns 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, jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68398
llvm-svn: 374889
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/unittests/IR/FunctionTest.cpp
The file was modifiedllvm/lib/Analysis/Loads.cpp
Commit ab5025654448ad0c93af18727f9b0698f451bd94 by sidneym
[lld] Check for branch range overflows.
Differential Revision: https://reviews.llvm.org/D68875
llvm-svn: 374891
The file was modifiedlld/ELF/Arch/Hexagon.cpp
The file was addedlld/test/ELF/hexagon-jump-error.s
Commit 9d66247e9b78ceb821fba12a1d2ff66839911163 by kadircet
[clangd] Propagate main context into ClangdServer
Summary: Currently clangd initializes the ClangdServer lazily during
onInitialize request, and it results in propagation of caller's context
rather than the main context created ClangdLSPServer.
This patch changes the logic to store main context that created
ClangdLSPServer and pass it onto to ClangdServer and other objects like
CDBs.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68978
llvm-svn: 374892
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit dfb7a736015f6270cdc81ab4477768842928f644 by benny.kra
[AST] Remove unused Sema includes to fix a cyclic dependency from Sema
to AST
llvm-svn: 374893
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit ce00cd6ae845677ef95f8d62a3745f6e13125882 by benny.kra
[AsmPrinter] Fix unused variable warning in Release builds. NFC.
llvm-svn: 374894
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
Commit 1731fc88d1fa1fa55edd056db73a339b415dd5d6 by bruno.cardoso
Reapply: [Modules][PCH] Hash input files content
Summary: When files often get touched during builds, the mtime based
validation leads to different problems in implicit modules builds, even
when the content doesn't actually change:
- Modules only: module invalidation due to out of date files. Usually
causing rebuild traffic.
- Modules + PCH: build failures because clang cannot rebuild a module if
it comes from building a PCH.
- PCH: build failures because clang cannot rebuild a PCH in case one of
the input headers has different mtime.
This patch proposes hashing the content of input files (headers and
module maps), which is performed during serialization time. When looking
at input files for validation, clang only computes the hash in case
there's a mtime mismatch.
I've tested a couple of different hash algorithms availble in LLVM in
face of building modules+pch for `#import <Cocoa/Cocoa.h>`:
- `hash_code`: performace diff within the noise, total module cache
increased by 0.07%.
- `SHA1`: 5% slowdown. Haven't done real size measurements, but it'd be
BLOCK_ID+20 bytes per input file, instead of BLOCK_ID+8 bytes from
`hash_code`.
- `MD5`: 3% slowdown. Like above, but BLOCK_ID+16 bytes per input file.
Given the numbers above, the patch uses `hash_code`. The patch also
improves invalidation error msgs to point out which type of problem the
user is facing: "mtime", "size" or "content".
rdar://problem/29320105
Reviewers: dexonsmith, arphaman, rsmith, aprantl
Subscribers: jkorous, cfe-commits, ributzka
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67249
> llvm-svn: 374841
llvm-svn: 374895
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was addedclang/test/Modules/validate-file-content.m
The file was addedclang/test/PCH/validate-file-content.m
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSerializationKinds.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/include/clang/Serialization/ASTReader.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit defaea0b6c4cccacbaa519a66b318bc3d250e281 by digger.llvm
a test commit access
llvm-svn: 374897
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit 52d2a567b5ea4f2ec6d1dd5e9b5661ca8b763eae by digger.llvm
revert git test commit
llvm-svn: 374898
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit b4638f9ff063a29e84b2d6b949ee4f7d27e4c2ab by nicolasweber
Revert 374882 "[Concepts] Concept Specialization Expressions"
This reverts commit ec87b003823d63f3342cf648f55a134c1522e612. The test
fails on Windows, see e.g.
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/11533/steps/stage%201%20check/logs/stdio
Also revert follow-up r374893.
llvm-svn: 374899
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was removedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was addedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was removedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was removedclang/lib/Sema/SemaConcept.cpp
The file was addedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was addedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
Commit ae8e69ecd0c756ea9ae69f4096027be3a36ea578 by llvmgnsyncbot
gn build: Merge r374899
llvm-svn: 374900
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit b18170660e726cc97caa35cb0c406db184d4a8a2 by kadircet
[clangd][NFC] Update comments to use triple-slashes
llvm-svn: 374901
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
Commit d545c9056e00988d2d146f8f1440b2dd192f306b by spatel
[DAGCombiner] fold select-of-constants based on sign-bit test
Examples:
i32 X > -1 ? C1 : -1 --> (X >>s 31) | C1
i8 X < 0 ? C1 : 0 --> (X >>s 7) & C1
This is a small generalization of a fold requested in PR43650:
https://bugs.llvm.org/show_bug.cgi?id=43650
The sign-bit of the condition operand can be used as a mask for the true
operand: https://rise4fun.com/Alive/paT
Note that we already handle some of the patterns (isNegative + scalar)
because there's an over-specialized, yet over-reaching fold for that in
foldSelectCCToShiftAnd(). It doesn't use any TLI hooks, so I can't
easily rip out that code even though we're duplicating part of it here.
This fold is guarded by TLI.convertSelectOfConstantsToMath(), so it
should not cause problems for targets that prefer select over shift.
Also worth noting: I thought we could generalize this further to include
the case where the true operand of the select is not constant, but Alive
says that may allow poison to pass through where it does not in the
original select form of the code.
Differential Revision: https://reviews.llvm.org/D68949
llvm-svn: 374902
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/select-sra.ll
Commit 5d98ba6077dac656fbf023e9312d9c131d53144c by saar
[Concepts] Concept Specialization Expressions
Part of C++20 Concepts implementation effort. Added Concept
Specialization Expressions that are created when a concept is refe$
D41217 on Phabricator.
(recommit after fixing failing Parser test on windows)
llvm-svn: 374903
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/test/Parser/cxx2a-concept-declaration.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/lib/Sema/SemaConcept.cpp
The file was addedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was removedclang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/test/PCH/cxx2a-concept-specialization-expr.cpp
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was removedclang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was removedclang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was modifiedclang/lib/Parse/ParseExpr.cpp
The file was modifiedclang/lib/Sema/CMakeLists.txt
Commit 0cdf478955156b64467627a49accaff793580ea7 by llvmgnsyncbot
gn build: Merge r374903
llvm-svn: 374904
The file was modifiedllvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Commit 263eb368694228efc155f1140779b561d1c34db4 by Adrian Prantl
Skip PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 374905
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/multiline-completion/TestMultilineCompletion.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/gui/basic/TestGuiBasic.py
Commit b459be1025140e7db52de236dc91a83a3e4333d0 by Adrian Prantl
Increase gdbremote_testcase timeouts when running under ASAN.
llvm-svn: 374906
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
Commit 84423bd4396b14d5beb156807377f85d347e68b3 by saar
[Concepts] Remove unused and illegal Sema includes from ExprCXX.cpp
Fixing accidental includes introduced in 374903
llvm-svn: 374907
The file was modifiedclang/lib/AST/ExprCXX.cpp
Commit 6e8599d939791c3751509c5ceebc29e78b61ac57 by Stanislav.Mekhanoshin
[AMDGPU] Allow DPP combiner to work with REG_SEQUENCE
Differential Revision: https://reviews.llvm.org/D68828
llvm-svn: 374908
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
Commit 034badb312bedfee9e81a933ad3ef7f0a1d8853d by dmitry.mikulin
CFI: wrong type passed to llvm.type.test with multiple inheritance
devirtualization.
Differential Revision: https://reviews.llvm.org/D67985
llvm-svn: 374909
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was addedclang/test/CodeGenCXX/cfi-multiple-inheritance.cpp
The file was addedcompiler-rt/test/cfi/multiple-inheritance2.cpp
Commit 1184c27fa586f8fe713921150146d433aae969ff by Stanislav.Mekhanoshin
[AMDGPU] Support mov dpp with 64 bit operands
We define mov/update dpp intrinsics as overloaded but do not support
i64, which is a practically useful type. Fix the selection and lowering.
Differential Revision: https://reviews.llvm.org/D68673
llvm-svn: 374910
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit d9b553ec9961e95740535d3aeff62817f867767f by lawrence_danna
SBFile::GetFile: convert SBFile back into python native files.
Summary: This makes SBFile::GetFile public and adds a SWIG typemap to
convert the result back into a python native file.
If the underlying File itself came from a python file, it is returned
identically.   Otherwise a new python file object is created using the
file descriptor.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68737
llvm-svn: 374911
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/include/lldb/API/SBFile.h
The file was modifiedlldb/scripts/Python/python-typemaps.swig
The file was modifiedlldb/source/API/SBFile.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/scripts/interface/SBFile.i
Commit 311dbb1bd7c2933e8c1f5317aa9ef8715b4fae3c by lawrence_danna
convert SBDebugger::***FileHandle() wrappers to native files.
Summary: This patch converts the swig wrappers for SetInputFileHandle()
and friends to emulate the old behavior using SetInputFile().
This will clear the way for deleting the FILE* typemaps altogether.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: mehdi_amini, dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68856
llvm-svn: 374912
The file was modifiedlldb/scripts/interface/SBDebugger.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 1ab27c74d4b183454e2b7ab74c42a39f7c02cab4 by jrtc27
[lld][WebAssembly] Fix static linking of -fPIC code with external
undefined data
Reviewers: ruiu, sbc100
Reviewed By: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68991
llvm-svn: 374913
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/pic-static.ll
Commit 41ca91f2995b2dab915c1c1001adc0a26d74bf6e by digger.llvm
[AIX][XCOFF] Output XCOFF object text section header and symbol entry
for program code.
SUMMARY Original form of this patch is provided by Stefan Pintillie.
The patch try to output program code section header , symbol entry for
program code (PR) and Instruction into the raw text section. The patch
include how to alignment and layout the CSection in the text section.
The patch also reorganize the code , put some codes into a
function(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want to output raw text section data,it need a function description
patch first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374914
The file was addedllvm/test/CodeGen/PowerPC/aix-return55.ll
Commit e409f12131905a07e9286c0e191af9978e43b893 by Vedant Kumar
[llvm-profdata] Remove
tools/llvm-profdata/malformed-ptr-to-counter-array.test
This test is still failing on the ARM bots and I need time to
investigate.
llvm-svn: 374915
The file was removedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit d3bd5b3d71ae9fc3a3a45e05d5dba6b1ecbcb2f5 by lawrence_danna
eliminate virtual methods from PythonDataObjects
Summary: This patch eliminates a bunch of boilerplate from
PythonDataObjects, as well as the use of virtual methods. In my opinion
it also makes the Reset logic a lot more clear and easy to follow.   The
price is yet another template.   I think it's worth it.
Reviewers: JDevlieghere, jasonmolenda, labath, zturner
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68918
llvm-svn: 374916
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
Commit 0b9981b180ef2f08d2a97cfda2fb6ca35ad5e93c by Jonas Devlieghere
[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374917
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
Commit 35c8af1850667b284829a329568ad90f9615e630 by asbirlea
[MemorySSA] Update DomTree before applying MSSA updates.
Update on the fix in rL374850.
llvm-svn: 374918
The file was modifiedllvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
Commit d69d1aa131b4cf339bfac116e50da33a5f94b861 by jonathanchesterfield
[libomptarget][nfc] Make interface.h target independent
Summary:
[libomptarget][nfc] Make interface.h target independent
Move interface.h under a top level include directory. Remove #includes
to avoid the interface depending on the implementation.
Reviewers: ABataev, jdoerfert, grokos, ronlieb, RaviNarayanaswamy
Reviewed By: jdoerfert
Subscribers: mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D68615
llvm-svn: 374919
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/src/nvptx_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/option.h
The file was addedopenmp/libomptarget/deviceRTLs/interface.h
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
Commit 3de89f3416bfa78079136ea6566c8f82b1b64292 by asbirlea
[NewGVN] Check that call has an access.
Check that a call has an attached MemoryAccess before calling
getClobbering on the instruction. If no access is attached, the
instruction does not access memory.
Resolves PR43441.
llvm-svn: 374920
The file was addedllvm/test/Transforms/NewGVN/pr43441.ll
The file was modifiedllvm/lib/Transforms/Scalar/NewGVN.cpp
Commit 27c7a9b157555e53fb3887e87a492f74fa8bcc56 by aaron
Add more information to JSON AST dumping of source locations.
This adds information about the offset within the source file to the
given source location as well as information about the include file a
location is from. These pieces of information allow for more efficient
post-processing of JSON AST dumps.
llvm-svn: 374921
The file was modifiedclang/test/AST/ast-dump-decl-json.c
The file was modifiedclang/test/AST/ast-dump-decl-json.m
The file was modifiedclang/test/AST/ast-dump-decl-context-json.cpp
The file was modifiedclang/test/AST/multistep-explicit-cast-json.c
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/test/AST/ast-dump-types-json.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/AST/ast-dump-temporaries-json.cpp
The file was modifiedclang/test/AST/ast-dump-enum-json.cpp
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
The file was modifiedclang/test/AST/ast-dump-comment-json.cpp
The file was addedclang/test/AST/Inputs/json-dump-include.h
The file was modifiedclang/test/AST/ast-dump-stmt-json.c
The file was modifiedclang/test/AST/ast-dump-macro-json.c
The file was modifiedclang/test/AST/ast-dump-record-definition-data-json.cpp
The file was modifiedclang/test/AST/ast-dump-if-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/test/AST/multistep-explicit-cast-json.cpp
The file was modifiedclang/test/AST/ast-dump-namespace-json.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.m
The file was modifiedclang/test/AST/ast-dump-funcs-json.cpp
Commit 59390efef2599a268f2249f7d3f80111952d53ff by dave
[X86] Make memcmp() use PTEST if possible and also enable AVX1
llvm-svn: 374922
The file was modifiedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/test/CodeGen/X86/memcmp-minsize.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/setcc-wide-types.ll
Commit fdfd6ab12e5e2ad3f6641a3b4442b3140212d29b by digger.llvm
[XCOFF] Output object text section header and symbol entry for program
code.
This is remaining part of  rG41ca91f2995b: [AIX][XCOFF] Output XCOFF
object text section header and symbol entry for rogram code.
SUMMARY: Original form of this patch is provided by Stefan Pintillie.
1. The patch try to output program code section header , symbol entry
for
program code (PR) and Instruction into the raw text section. 2. The
patch include how to alignment and layout the CSection in the text
section. 3. The patch also reorganize the code , put some codes into a
function.
(XCOFFObjectWriter::writeSymbolTableEntryForControlSection)
Additional: We can not add raw data of text section test in the patch,
If want
to output raw text section data,it need a function description patch
first.
Reviewers: hubert.reinterpretcast, sfertile, jasonliu, xingxue.
Subscribers: wuzish, nemanjai, hiraditya, MaskRay, jsjji.
Differential Revision: https://reviews.llvm.org/D66969
llvm-svn: 374923
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-lcomm.ll
The file was modifiedllvm/include/llvm/MC/MCSectionXCOFF.h
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit 30cf609548d9379178ef618d9c8790459221ed22 by lawrence_danna
remove FILE* usage from SBStream.i
Summary: This patch removes FILE* and replaces it with SBFile and FileSP
the SWIG interface for `SBStream.i`.   And this is the last one.   With
this change, nothing in the python API will can access a FILE* method on
the C++ side.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68960
llvm-svn: 374924
The file was modifiedlldb/source/API/SBStream.cpp
The file was modifiedlldb/include/lldb/API/SBStream.h
The file was modifiedlldb/scripts/interface/SBStream.i
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit c1157d1e77c30f9431e09e599afbb788d5894910 by sivachandra
[libc] Do not add unittests if LLVM_INCLUDE_TESTS is OFF.
Reviewers: nathanchance
Subscribers: mgorny, tschuett, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D68726
llvm-svn: 374925
The file was modifiedlibc/cmake/modules/LLVMLibCRules.cmake
Commit f8907fa6f4b77b5daddb796d16cceca64e3f7cbe by Jan Korous
Reland [Driver] Fix -working-directory issues
Don't change the default VFS in Driver, update tests & reland.
This reverts commit 999f8a7416f8edc54ef92e715fd23c532bcc74d4.
llvm-svn: 374926
The file was modifiedclang/include/clang/Basic/DiagnosticDriverKinds.td
The file was modifiedclang/test/Driver/gen-cdb-fragment.c
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/Driver/working-directory.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit c7ec51a7c3ede8c1024b90d5fdc91979a9f01bf8 by Vedant Kumar
[llvm-profdata] Reinstate
tools/llvm-profdata/malformed-ptr-to-counter-array.test
I removed this test to unblock the ARM bots while looking into failures
(r374915), and am reinstating it now with a fix.
I believe the problem was that counter ptr address I used,
'\0\0\6\0\1\0\0\1', set the high bits of the pointer, not the low bits
like I wanted. On x86_64 this superficially looks like it tests r370826,
but it doesn't, as it would have been caught before r370826. However, on
ARM (or, 32-bit hosts more generally), I suspect the high bits were
cleared, and you get a 'valid' profile.
I verified that setting the *low* bits of the pointer does trigger the
new condition:
-// Note: The CounterPtr here is off-by-one. This should trigger a
malformed profile error.
-RUN: printf '\0\0\6\0\1\0\0\1' >> %t.profraw
+// Note: The CounterPtr here is off-by-one.
+//
+// Octal '\11' is 9 in decimal: this should push CounterOffset to 1. As
there are two counters,
+// the profile reader should error out.
+RUN: printf '\11\0\6\0\1\0\0\0' >> %t.profraw
This reverts commit c7cf5b3e4b918c9769fd760f28485b8d943ed968.
llvm-svn: 374927
The file was addedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
Commit 50dc09dd1640f9d0e16f7c1351f068f3f0711db2 by llvm-dev
[X86] combineX86ShufflesRecursively - split the getTargetShuffleInputs
call from the resolveTargetShuffleAndZeroables call.
Exposes an issue in getFauxShuffleMask where the OR(SHUFFLE,SHUFFLE)
decode should always resolve zero/undef elements.
Part of the fix for PR43024 where ideally we shouldn't call
resolveTargetShuffleAndZeroables for Depth == 0
llvm-svn: 374928
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 9e49adc97574ca777e7ab8ec90a88a8b68ca1558 by Jan Korous
Fix Driver/working-directory.c test
Accidentally committed debug print.
llvm-svn: 374929
The file was modifiedclang/test/Driver/working-directory.c
Commit 621ce3790ba254256222addad60d818cb90ac831 by Jonas Devlieghere
[test] Update YAML mapping in VirtualFileSystemTest
The 'bar' directory should be part of the root rather than the file
itself.
llvm-svn: 374930
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit eb501b1fc17783f548e7d337521161cbd9ff7ddd by rupprecht
[llvm-objdump] Use a counter for llvm-objdump -h instead of the section
index.
Summary: When listing the index in `llvm-objdump -h`, use a zero-based
counter instead of the actual section index (e.g. shdr->sh_index for
ELF).
While this is effectively a noop for now (except one unit test for
XCOFF), the index values will change in a future patch that filters
certain sections out (e.g. symbol tables). See D68669 for more context.
Note: the test case in `test/tools/llvm-objdump/X86/section-index.s`
already covers the case of incrementing the section index counter when
sections are skipped.
Reviewers: grimar, jhenderson, espindola
Reviewed By: grimar
Subscribers: emaste, sbc100, arichardson, aheejin, arphaman, seiya,
llvm-commits, MaskRay
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68848
llvm-svn: 374931
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
The file was modifiedllvm/test/tools/llvm-objdump/xcoff-section-headers.test
Commit 0650355c09ab8e6605ae37b818270a7a7c8ce2c7 by caij2003
[clang] refactor -Wa,-W test cases.
Remove REQUIRES and only keep the clang driver tests, since the
assembler are already tested with -Wa,--no-warn. This way we could run
the test on non-linux platforms and catch breaks on them.
llvm-svn: 374932
The file was modifiedclang/test/Driver/as-w-option.c
Commit 2cb27072cefb11d5018735a3b70a903dc1d319ac by tlively
[WebAssembly] Allow multivalue types in block signature operands
Summary: Renames `ExprType` to the more apt `BlockType` and adds a
variant for multivalue blocks. Currently non-void blocks are only
generated at the end of functions where the block return type needs to
agree with the function return type, and that remains true for
multivalue blocks. That invariant means that the actual signature does
not need to be stored in the block signature `MachineOperand` because it
can be inferred by `WebAssemblyMCInstLower` from the return type of the
parent function. `WebAssemblyMCInstLower` continues to lower block
signature operands to immediates when possible but lowers multivalue
signatures to function type symbols. The AsmParser and Disassembler are
updated to handle multivalue block types as well.
Reviewers: aheejin, dschuff, aardappel
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68889
llvm-svn: 374933
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
The file was modifiedllvm/test/MC/Disassembler/WebAssembly/wasm-error.txt
The file was modifiedllvm/tools/llvm-mc/llvm-mc.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/lib/Target/WebAssembly/Disassembler/LLVMBuild.txt
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/tools/llvm-mc/Disassembler.cpp
The file was modifiedllvm/tools/llvm-mc/Disassembler.h
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
The file was modifiedllvm/test/MC/WebAssembly/basic-assembly.s
Commit f14642f2f185f9af290f9fcace4851adbbe16432 by dmitry.mikulin
Added support for "#pragma clang section relro=<name>"
Differential Revision: https://reviews.llvm.org/D68806
llvm-svn: 374934
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedllvm/lib/Target/TargetLoweringObjectFile.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedllvm/include/llvm/IR/GlobalVariable.h
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/test/CodeGenCXX/clang-sections.cpp
The file was modifiedclang/test/Sema/pragma-clang-section.c
The file was addedllvm/test/MC/ELF/section-relro.ll
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit 409b4b5fb39efc775762f3391062d2258c073add by Jonas Devlieghere
Revert "[VirtualFileSystem] Support virtual working directory in the 
RedirectingFS"
This reverts the original commit and the follow up:
Revert "[VirtualFileSystem] Support virtual working directory in the
RedirectingFS" Revert "[test] Update YAML mapping in
VirtualFileSystemTest"
llvm-svn: 374935
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
Commit 215a8d948d6600dcbfd68dfc8d5331a86b1d5591 by rnk
Fix as-w-option.c on Windows where no assembler exists
llvm-svn: 374936
The file was modifiedclang/test/Driver/as-w-option.c
Commit 5836c356fa6e17d0e10a2f9e0e111b7236dc15fb by serguei.n.dmitriev
[Clang][OpenMP Offload] Move offload registration code to the wrapper
The final list of OpenMP offload targets becomes known only at the link
time and since offload registration code depends on the targets list it
makes sense to delay offload registration code generation to the link
time instead of adding it to the host part of every fat object. This
patch moves offload registration code generation from clang to the
offload wrapper tool.
This is the last part of the OpenMP linker script elimination patch
https://reviews.llvm.org/D64943
Differential Revision: https://reviews.llvm.org/D68746
llvm-svn: 374937
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/clang-offload-wrapper.c
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
Commit 0330fba6e16db9b5d2079313646f93485c5ccf39 by saar
[Concept] Associated Constraints Infrastructure
Add code to correctly calculate the associated constraints of a template
(no enforcement yet). D41284 on Phabricator.
llvm-svn: 374938
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CXX/temp/concept/p4.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/var-template-decl.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp
The file was addedclang/test/CXX/temp/temp.constr/temp.constr.decl/func-template-decl.cpp
Commit 190dacc3cc206fa90a44e2f4aa6b56c327d1942a by tlively
[WebAssembly] Elide data segments for .bss sections
Summary: WebAssembly memories are zero-initialized, so when module does
not import its memory initializing .bss sections is guaranteed to be a
no-op. To reduce binary size and initialization time, .bss sections are
simply not emitted into the final binary unless the memory is imported.
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68965
llvm-svn: 374940
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedlld/test/wasm/custom-section-name.ll
The file was modifiedlld/wasm/OutputSections.cpp
The file was modifiedlld/wasm/OutputSections.h
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/wasm/OutputSegment.h
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/test/wasm/data-segments.ll
The file was modifiedlld/test/wasm/Inputs/locals-duplicate1.ll
The file was modifiedlld/test/wasm/Inputs/locals-duplicate2.ll
The file was addedlld/test/wasm/bss-only.ll
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedlld/test/wasm/data-layout.ll
Commit 1875dcc47887b2ba582e26b7014ba1eaa82ea1de by digger.llvm
[llvm-readobj][xcoff] implement parsing overflow section header.
SUMMARY: in the xcoff, if the number of relocation entries or line
number entries is overflow(large than or equal 65535) , there will be
overflow section for it. The interpret of overflow section is different
with generic section header, the patch implement parsing the overflow
section.
Reviewers: hubert.reinterpretcast,sfertile,jasonliu Subscribers:
rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D68575
llvm-svn: 374941
The file was addedllvm/test/tools/llvm-readobj/xcoff-overflow-section.test
The file was addedllvm/test/tools/llvm-readobj/Inputs/xcoff-reloc-overflow.o
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
Commit 3a842ec3ca4dffc1f8da88121c239b6dbb2209f0 by a.bataev
[OPENMP]Allow final clause in combined task-based directives. The
condition of the final clause must be captured in the combined
task-based directives, like 'parallel master taskloop' directive.
llvm-svn: 374942
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
Commit d498d606b98179f96b33683e296f8c09568028bd by a.bataev
[OPENMP]Fix comments/params, NFC.
llvm-svn: 374943
The file was modifiedclang/include/clang/AST/OpenMPClause.h
Commit 527e9f9a3f939b2fdb296da9e0e7bbe79b8f4a44 by Austin.Kerbow
AMDGPU: Fix infinite searches in SIFixSGPRCopies
Summary: Two conditions could lead to infinite loops when processing PHI
nodes in SIFixSGPRCopies.
The first condition involves a REG_SEQUENCE that uses registers defined
by both a PHI and a COPY.
The second condition arises when a physical register is copied to a
virtual register which is then used in a PHI node. If the same virtual
register is copied to the same physical register, the result is an
endless loop.
%0:sgpr_64 = COPY $sgpr0_sgpr1
%2 = PHI %0, %bb.0, %1, %bb.1
$sgpr0_sgpr1 = COPY %0
Reviewers: alex-t, rampitec, arsenm
Reviewed By: rampitec
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68970
llvm-svn: 374944
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fix-sgpr-copies.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 4f2f9c00b978e45a0bb4c229912359e84ad6af11 by shal1t712
[llvm-lipo] Add missing cast
Add missing cast (to correctly sum 32-bit integers).
Test plan: make check-all
llvm-svn: 374945
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
Commit 34d4bff3d6d7cc521b06679536b0273c00bb0b3b by digger.llvm
[XCOFF]implement parsing relocation information for 32-bit xcoff object
file
Summary:
   Parsing the relocation entry information for 32-bit xcoff object file
including deal with the relocation overflow.
Reviewers: hubert.reinterpretcast, jasonliu, sfertile, xingxue.
Subscribers: hiraditya, rupprecht, seiya
Differential Revision: https://reviews.llvm.org/D67008
llvm-svn: 374946
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
The file was modifiedllvm/test/tools/llvm-readobj/xcoff-basic.test
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was addedllvm/test/tools/llvm-readobj/reloc_overflow.test
The file was modifiedllvm/tools/llvm-readobj/XCOFFDumper.cpp
Commit 74b285eee7288500f6041c0fa49413c8ead217f4 by jlettner
[lit] Add back LitTestCase
This essentially reverts a commit [1] that removed the adaptor for
Python unittests.  The code has been slightly refactored to make it more
additive: all code is contained in LitTestCase.py.
Usage sites will require a small adaption:
```
[old]
import lit.discovery
...
test_suite = lit.discovery.load_test_suite(...)
[new]
import lit.LitTestCase
...
test_suite = lit.LitTestCase.load_test_suite(...)
```
This was put back on request by Daniel Dunbar, since I wrongly assumed
that the functionality is unused.  At least llbuild still uses this [2].
[1] 70ca752ccf6a8f362aea25ccd3ee2bbceca93b20
[2]
https://github.com/apple/swift-llbuild/blob/master/utils/Xcode/LitXCTestAdaptor/LitTests.py#L16
Reviewed By: ddunbar
Differential Revision: https://reviews.llvm.org/D69002
llvm-svn: 374947
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/lit.cfg
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-two.txt
The file was addedllvm/utils/lit/lit/LitTestCase.py
The file was addedllvm/utils/lit/tests/Inputs/unittest-adaptor/test-one.txt
The file was addedllvm/utils/lit/tests/unittest-adaptor.py
Commit c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e by Lang Hames
[JITLink] Switch to slab allocation for InProcessMemoryManager,
re-enable test.
InProcessMemoryManager used to make separate memory allocation calls for
each permission level (RW, RX, RO), which could lead to
target-out-of-range errors if data and code were placed too far apart
(this was the source of failures in the JITLink/AArch64 testcase when it
was first landed).
This patch updates InProcessMemoryManager to allocate a single slab
which is subdivided between text and data. This should guarantee that
accesses remain in-range provided that individual object files do not
exceed 1Mb in size. This patch also re-enables the JITLink/AArch64
testcase.
llvm-svn: 374948
The file was modifiedllvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
The file was modifiedllvm/test/ExecutionEngine/JITLink/AArch64/lit.local.cfg
Commit 75b991ebdf85f2a7a8914abbc2a1bbf2071ab786 by d4m1887
[Docs] Updates sidebar links and sets max-width property for div.body
Updates the sidebar links for Getting Started. Also sets max-width on
div.body to 1000px.
llvm-svn: 374949
The file was modifiedllvm/docs/_templates/indexsidebar.html
The file was modifiedllvm/docs/_themes/llvm-theme/static/llvm-theme.css
Commit a98546ebcd2a692e0634c5b1a7e77471316ab6e0 by Lang Hames
[Orc] Add a method for ObjectLinkingLayer to return ownership of object
buffers.
RTDyldObjectLinkingLayer allowed clients to register a NotifyEmitted
function to reclaim ownership of object buffers once they had been
linked. This patch adds similar functionality to ObjectLinkingLayer:
Clients can now optionally call the
ObjectLinkingLayer::setReturnObjectBuffer method to register a function
that will be called when discarding object buffers. If set, this
function will be called to return ownership of the object regardless of
whether the link succeeded or failed.
Use cases for this function include debug dumping (it provides a way to
dump all objects linked into JIT'd code) and object re-use (e.g. storing
an object in a cache).
llvm-svn: 374951
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
Commit 666f977166541f1c71f64357a3157c56ecec8faf by richard-llvm
Remove unnecessary and inappropriate forward-declaration of Sema from
AST.
llvm-svn: 374952
The file was modifiedclang/include/clang/AST/ExprCXX.h
Commit 208e9c01fc094cedbcf47f39a902cff13dce0039 by hhb
[lldb] Creates _liblldb symlink from cmake
Summary: This is another attempt of D67993.
This change removed hard coded relative paths. This way we can generate
correct result when get_python_lib() returns a different path, or
LLDB_PYTHON_RELATIVE_PATH is specified directly.
By moving things out of python, we are also able to correctly process
more cross compile situations. E.g. .pyd vs .so for Windows.
Subscribers: lldb-commits, mgorny
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68858
llvm-svn: 374953
The file was modifiedlldb/scripts/Python/finishSwigPythonLLDB.py
The file was modifiedlldb/CMakeLists.txt
Commit 61dadfc894c566ce0af6163159ba0ba76d8007ad by richard-llvm
PR43674: fix incorrect constant evaluation of 'switch' where no case
label corresponds to the condition.
llvm-svn: 374954
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx1y.cpp
Commit 21703543a77dfae0e7a4dc45d4c3c4eed0308953 by Jonas Devlieghere
[Reland][VirtualFileSystem] Support virtual working directory in the
RedirectingFS
Before this patch, changing the working directory of the RedirectingFS
would just forward to its external file system. This prevented us from
having a working directory that only existed in the VFS mapping.
This patch adds support for a virtual working directory in the
RedirectingFileSystem. It now keeps track of its own WD in addition to
updating the WD of the external file system. This ensures that we can
still fall through for relative paths.
This change was originally motivated by the reproducer infrastructure in
LLDB where we want to deal transparently with relative paths.
Differential revision: https://reviews.llvm.org/D65677
llvm-svn: 374955
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
Commit 20c692a44555dc6e4ffee66a874e63c382e925df by Jonas Devlieghere
[dsymutil] Support and relocate base address selection entries for
debug_loc
Since r374600 clang emits base address selection entries. Currently
dsymutil does not support these entries and incorrectly interprets them
as location list entries.
This patch adds support for base address selection entries in dsymutil
and makes sure they are relocated correctly.
Thanks to Dave for coming up with the test case!
Differential revision: https://reviews.llvm.org/D69005
llvm-svn: 374957
The file was addedllvm/test/tools/dsymutil/X86/debug-loc-base-addr.test
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.o
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/baseaddr/loc1.x86_64
Commit 4d1ecadda59ce82e5fa6e28dd15bf794eee88363 by jlettner
[ASan] Refine diagnoses messages
The provided PC is not reliable in every case, so don't suggest
something that does not make sense.
llvm-svn: 374959
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp

Summary

  1. Refactored ClangLTOBuilder to support github. (details)
Commit bdb8efb160db242c1897a532e4a3e42fc0d968ea by gkistanova
Refactored ClangLTOBuilder to support github.
llvm-svn: 374956
The file was modifiedzorg/buildbot/builders/ClangLTOBuilder.py