SuccessChanges

Summary

  1. Unwind: Add a stack scanning mechanism to support win32 unwinding (details)
  2. [lldb/cmake] add lldbCore -> clangDriver dependency (details)
  3. [lldb] Disable testing entry values as memory location (details)
  4. [LLD] [COFF] Use the unified llvm demangle frontend function. NFC. (details)
  5. [LLD] Convert demangleItanium to use the higher level llvm::demangle (details)
  6. [LLD] Simplify the demangleItanium function. NFC. (details)
  7. [clang] [AST] Treat "inline gnu_inline" the same way as "extern inline (details)
  8. [clangd] Remove an unrelated comment, NFC. (details)
  9. [Alignment][NFC] Remove unneeded llvm:: scoping on Align types (details)
  10. clang-tidy: Don't repeat list of all checks in three places. (details)
  11. [llvm-exegesis] Add loop mode for repeating the snippet. (details)
  12. [CodeGenPrepare] Mend "avoid crashing from replacing a phi twice" fix. (details)
  13. gn build: Merge r373083 (details)
  14. gn build: (manually) merge r373082 (details)
  15. [llvm-exegesis] Fix r373083: Module -> Mod. (details)
  16. [OpenCL] Pass LangOptions as const ref (details)
  17. [DebugInfo] Exclude memory location values as parameter entry values (details)
  18. remove File::SetStream(), make new files instead. (details)
  19. [libc++] Take 2: Implement LWG 3158 (details)
  20. [libTooling] Transformer: refine `SourceLocation` specified as anchor of (details)
  21. [AMDGPU][MC] Corrected parsing of registers (details)
  22. SCCP - silence static analyzer dyn_cast<StructType> null dereference (details)
  23. [RISCV] Rename FPRs and use Register arithmetic (details)
  24. FunctionImportGlobalProcessing::processGlobalForThinLTO - silence static (details)
  25. Change -march=systemz to triple and fix test (details)
  26. ModuleUtils - silence static analyzer dyn_cast<> null dereference (details)
  27. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  28. [Dominators][CodeGen] Clean up MachineDominators (details)
  29. [Reproducer] Always use absolute paths for capture & replay. (details)
  30. XFAIL a codegen test AArch64/tailmerging_in_mbp.ll (details)
  31. [clangd] Fix template type aliases in findExplicitReference (details)
  32. [CMake] Make Core depend on ClangDriverOptions (NFC) (details)
  33. [InstCombine] Simplify shift-by-sext to shift-by-zext (details)
  34. [X86] Add test case to show failure to perform SimplifyDemandedBits on (details)
  35. [X86] Call SimplifyDemandedBits in combineGatherScatter any time the (details)
  36. [InstSimplify] add tests for fma/fmuladd with undef operand; NFC (details)
  37. Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO (details)
  38. [CMake] Depend on clang-tablegen-targets (details)
  39. [Docs] Adds new section to User Guides page (details)
  40. [Reproducer] Update the unit tests to specify the path style. (details)
  41. [NFC][PhaseOrdering] Add end-to-end tests for the 'two shifts by sext' (details)
  42. Revert XFAIL a codegen test AArch64/tailmerging_in_mbp.ll (details)
  43. Revert [Dominators][CodeGen] Clean up MachineDominators (details)
  44. [Clang][OpenMP Offload] Create start/end symbols for the offloading (details)
  45. [InstSimplify] generalize FP folds with undef/NaN; NFC (details)
  46. [profile] Add a test dependency on cxx-headers (details)
  47. [profile] Mark instrprof-gcov-fork.test UNSUPPORTED on Darwin as well (details)
  48. For P0784R7: add support for explicit destructor calls and (details)
  49. Revert "[profile] Add a test dependency on cxx-headers" (details)
  50. [Reproducer] Use // in the unit tests (details)
  51. [llvm-readobj] Rename --arm-attributes to --arch-specific (details)
  52. refactor: move IOObject::m_should_close_fd into subclasses (details)
  53. [debugserver] Add --version/-V command line option to debugserver. (details)
  54. [PatternMatch] Add m_SExtOrSelf(), m_ZExtOrSExtOrSelf() matchers + (details)
  55. [libFuzzer] Dump trace and provide correct msg for overwritten input. (details)
  56. [X86] Add test case to show missed opportunity to turn (add (zext (vXi1 (details)
  57. [llvm-lipo] Add support for -arch (details)
  58. [SampleFDO] Create a separate flag profile-accurate-for-symsinlist to (details)
  59. [Core] Remove unused dependency on clangAST (details)
  60. Give an error when StepUsingScriptedThreadPlan is passed a bad (details)
  61. [X86] Split combineGatherScatter into a version for generic ISD nodes (details)
  62. [X86] Stop using UpdateNodeOperands in combineGatherScatter. Create new (details)
  63. [X86] Add broadcast load unfolding support for VPTESTMD/Q and (details)
  64. AMDGPU/GlobalISel: Avoid getting MRI in every function (details)
  65. Add an operand to memory intrinsics to denote the "tail" marker. (details)
  66. [TimeProfiler] Fix "OptModule" section and add new "Backend" sections (details)
  67. [GlobalISel Enable memcpy inlining with optsize. (details)
  68. [LLDB] Use the llvm microsoft demangler instead of the windows dbghelp (details)
  69. [LLD] [test] Add a forgotten comment. NFC. (details)
  70. Revert "[LLDB] Use the llvm microsoft demangler instead of the windows (details)
Commit a8b284eeec5fbdc4371f6e4286cb66acc4bbeea3 by pavel
Unwind: Add a stack scanning mechanism to support win32 unwinding
Summary: Windows unwinding is weird. The unwind rules do not (always)
describe the precise layout of the stack, but rather expect the debugger
to scan the stack for something which looks like a plausible return
address, and the unwind based on that. The reason this works somewhat
reliably is because the the unwinder also has access to the frame sizes
of the functions on the stack. This allows it (in most cases) to skip
function pointers in local variables or function arguments, which could
otherwise be mistaken for return addresses.
Implementing this kind of unwind mechanism in lldb was a bit challenging
because we expect to be able to statically describe (in the UnwindPlan)
structure, the layout of the stack for any given instruction. Giving a
precise desription of this is not possible, because it requires
correlating information from two functions -- the pushed arguments to a
function are considered a part of the callers stack frame, and their
size needs to be considered when unwinding the caller, but they are only
present in the unwind entry of the callee. The callee may end up being
in a completely different module, or it may not even be possible to
determine it statically (indirect calls).
This patch implements this functionality by introducing a couple of new
APIs: SymbolFile::GetParameterStackSize - return the amount of stack
space
taken up by parameters of this function. SymbolFile::GetOwnFrameSize -
the size of this function's frame. This
excludes the parameters, but includes stuff like local variables and
spilled registers.
These functions are then used by the unwinder to compute the estimated
location of the return address. This address is not always exact,
because the stack may contain some additional values -- for instance, if
we're getting ready to call a function then the stack will also contain
partially set up arguments, but we will not know their size because we
haven't called the function yet. For this reason the unwinder will crawl
up the stack from the return address position, and look for something
that looks like a possible return address. Currently, we assume that
something is a valid return address if it ends up pointing to an
executable section.
All of this logic kicks in when the UnwindPlan sets the value of CFA as
"isHeuristicallyDetected", which is also the final new API here. Right
now, only SymbolFileBreakpad implements these APIs, but in the future
SymbolFilePDB will use them too.
Differential Revision: https://reviews.llvm.org/D66638
llvm-svn: 373072
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was addedlldb/lit/SymbolFile/Breakpad/Inputs/unwind-via-raSearch.syms
The file was modifiedlldb/source/Symbol/UnwindPlan.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/include/lldb/Symbol/UnwindPlan.h
The file was addedlldb/lit/SymbolFile/Breakpad/unwind-via-raSearch.test
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/lit/SymbolFile/Breakpad/Inputs/unwind-via-stack-win.yaml
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
Commit 7b8f546522551545eb3a2e3df00e247eca7e841b by pavel
[lldb/cmake] add lldbCore -> clangDriver dependency
ModuleList.cpp includes clang/Driver/Driver.h. Reflect that in the build
system. Not having this can cause build failures if ModuleList.cpp is
built before Driver.inc is generated.
llvm-svn: 373073
The file was modifiedlldb/source/Core/CMakeLists.txt
Commit 06bc9d579cacae1f4209635bb2770b61231befbe by djordje.todorovic
[lldb] Disable testing entry values as memory location
The D67717 excludes such locations for now.
llvm-svn: 373074
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp
Commit bf6f4e99329ec2e038904e73193f0e9fe2fc128a by martin
[LLD] [COFF] Use the unified llvm demangle frontend function. NFC.
Add test cases for some cases where we don't want demangling to happen.
Differential Revision: https://reviews.llvm.org/D67301
llvm-svn: 373075
The file was modifiedlld/test/COFF/undefined-symbol-itanium-i386.s
The file was modifiedlld/COFF/Symbols.cpp
The file was modifiedlld/Common/Strings.cpp
The file was modifiedlld/include/lld/Common/Strings.h
The file was modifiedlld/COFF/CMakeLists.txt
The file was modifiedlld/test/COFF/undefined-symbol.s
Commit dd71b2d4c31c72cb58c95c07c1eb7175fe16e7a9 by martin
[LLD] Convert demangleItanium to use the higher level llvm::demangle
function. NFC.
This avoids a few lines of boilerplate of dealing with C string
allocations.
Add a testcase for a case where demangling shouldn't happen.
Differential Revision: https://reviews.llvm.org/D68014
llvm-svn: 373076
The file was modifiedlld/test/ELF/undef.s
The file was modifiedlld/Common/Strings.cpp
Commit 5ebab1f8f943e967662dd4ffc843bceb3de2e3d2 by martin
[LLD] Simplify the demangleItanium function. NFC.
Instead of returning an optional, just return the input string if
demangling fails, as that's what all callers use anyway.
Differential Revision: https://reviews.llvm.org/D68015
llvm-svn: 373077
The file was modifiedlld/include/lld/Common/Strings.h
The file was modifiedlld/Common/Strings.cpp
The file was modifiedlld/wasm/Symbols.cpp
The file was modifiedlld/ELF/Symbols.cpp
The file was modifiedlld/ELF/SymbolTable.cpp
Commit 71decf841c7396ad96cf95a9123c2df19a4121f6 by martin
[clang] [AST] Treat "inline gnu_inline" the same way as "extern inline
gnu_inline" in C++ mode
This matches how GCC handles it, see e.g.
https://gcc.godbolt.org/z/HPplnl. GCC documents the gnu_inline attribute
with "In C++, this attribute does not depend on extern in any way, but
it still requires the inline keyword to enable its special behavior."
The previous behaviour of gnu_inline in C++, without the extern keyword,
can be traced back to the original commit that added support for
gnu_inline, SVN r69045.
Differential Revision: https://reviews.llvm.org/D67414
llvm-svn: 373078
The file was addedclang/test/SemaCXX/gnu_inline.cpp
The file was modifiedclang/test/CodeGen/inline.c
The file was modifiedclang/test/SemaCUDA/gnu-inline.cu
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/undefined-inline.cpp
Commit 7e317cab732181540fcd03000b3d3e2a5c8bc642 by hokein
[clangd] Remove an unrelated comment, NFC.
llvm-svn: 373079
The file was modifiedclang-tools-extra/clangd/SemanticHighlighting.cpp
Commit 18f805a7ea5f369ef523821693f1176b40bcfc7e by gchatelet
[Alignment][NFC] Remove unneeded llvm:: scoping on Align types
llvm-svn: 373081
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/include/llvm/IR/DataLayout.h
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSERegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.h
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/tools/llvm-cov/TestingSupport.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/MC/MCELFStreamer.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp
The file was modifiedllvm/lib/MC/MachObjectWriter.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/MC/MCWinCOFFStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
The file was modifiedllvm/lib/Target/BPF/BPFISelLowering.cpp
The file was modifiedllvm/lib/Target/Lanai/LanaiISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/CallingConvLower.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetCallingConv.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/IR/Instructions.cpp
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/lib/Target/X86/X86RetpolineThunks.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZLongBranch.cpp
The file was modifiedllvm/lib/CodeGen/PatchableFunction.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/R600AsmPrinter.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/Target/ARC/ARCMachineFunctionInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/lib/Target/XCore/XCoreISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBranchRelaxation.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
The file was modifiedllvm/include/llvm/Support/OnDiskHashTable.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/MachineFrameInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
The file was modifiedllvm/lib/IR/DataLayout.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIRParser.cpp
The file was modifiedllvm/lib/CodeGen/MIRPrinter.cpp
The file was modifiedllvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AVR/AVRISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchSelector.cpp
Commit d69fa737fff31a3d5d11d56117c20ca9794bb2a4 by nicolasweber
clang-tidy: Don't repeat list of all checks in three places.
Instead, put all checks in a cmake variable and reference this.
Also, make clangd use the the ClangTidyForceLinker.h header instead of
duplicating the list of modules -- the duplicate copy was missing the
new "darwin" checker added in r373065.
Differential Revision: https://reviews.llvm.org/D68132
llvm-svn: 373082
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyForceLinker.h
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
The file was modifiedclang-tools-extra/clang-tidy/tool/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/ParsedAST.cpp
The file was modifiedclang-tools-extra/clang-tidy/plugin/CMakeLists.txt
Commit 9431b72ce9e2dee9eddc71cff34f5fdaf853e9d4 by courbet
[llvm-exegesis] Add loop mode for repeating the snippet.
Summary: Before this change the Executable function was made by
duplicating the snippet. This change adds a
--repetion-mode={loop|duplicate} flag that allows choosing between this
behaviour and wrapping the snippet instructions in a loop.
The new mode can help measurements when the snippet fits in the DSB by
short-cirtcuiting decoding. The loop adds a dec + jmp to the
measurements, but since these are not part of the critical path, they
execute in parallel with the measured code and do not impact
measurements in practice.
Overview of the change:
- New SnippetRepetitor abstraction that handles repeating the snippet.
  The assembler delegates repeating the instructions to this class.
- ExegesisTarget learns how to decrement loop counter and jump.
- Some refactoring of the assembler into
FunctionFiller/BasicBlockFiller.
Reviewers: gchatelet
Subscribers: mgorny, tschuett, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68125
llvm-svn: 373083
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-BTR64mr.s
The file was addedllvm/tools/llvm-exegesis/lib/SnippetRepetitor.h
The file was modifiedllvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-XCHG64rr.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-BSF16rm.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/latency-by-opcode-name.s
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt
The file was modifiedllvm/test/tools/llvm-exegesis/X86/inverse_throughput-by-opcode-name.s
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-ADD32mi8.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-by-opcode-name.s
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkResult.h
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-BEXTR32rm.s
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
The file was modifiedllvm/test/tools/llvm-exegesis/X86/latency-CMOV32rr.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/latency-SBB8rr.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-ADD32mr.s
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-ADD32rm.s
The file was modifiedllvm/test/tools/llvm-exegesis/X86/uops-VFMADDSS4rm.s
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
The file was addedllvm/unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetGenerator.h
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
The file was addedllvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
Commit 39b81f1cbc3cead2e065e5d65692dca47de1b6c2 by jesper.antonsson
[CodeGenPrepare] Mend "avoid crashing from replacing a phi twice" fix.
Summary: An erroneously negated if-statement by an earlier (March 2019)
bugfix left phi replacement/simplification under optimizeMemoryInst()
in CodeGenPrepare largely inactivated. The error was found when csmith
found that the same assert as in the original bug report could still be
triggered in a different way. This patch fixes the bugfix. The original
bug was:
https://bugs.llvm.org/show_bug.cgi?id=41052
... and the previous fix was D59358.
Reviewers: aprantl, skatkov
Reviewed By: skatkov
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67838
llvm-svn: 373084
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was addedllvm/test/CodeGen/X86/codegen-prepare-replacephi2.mir
Commit 940d0e2b8a66863df716556118cb8365c6e01aac by llvmgnsyncbot
gn build: Merge r373083
llvm-svn: 373085
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/X86/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/BUILD.gn
Commit 171c12bb1db24124d57129cc2e227f9221f59e4f by nicolasweber
gn build: (manually) merge r373082
llvm-svn: 373086
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
Commit 24078fe157d64d5ebfce2d4bb3f8b72d2bb63376 by courbet
[llvm-exegesis] Fix r373083: Module -> Mod.
SnippetRepetitorTest.cpp:66:27: error: declaration of
‘std::unique_ptr<llvm::Module>
llvm::exegesis::{anonymous}::X86SnippetRepetitorTest::Module’
[-fpermissive]
  std::unique_ptr<Module> Module;
llvm-svn: 373087
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp
Commit 2319eb65473ecdab00381d696ae2e0b4564b60a8 by sven.vanhaastregt
[OpenCL] Pass LangOptions as const ref
llvm-svn: 373088
The file was modifiedclang/include/clang/Basic/OpenCLOptions.h
Commit eb4c98ca3d2590bad9f6542afbf3a7824d2b53fa by djordje.todorovic
[DebugInfo] Exclude memory location values as parameter entry values
Abandon describing of loaded values due to safety concerns. Loaded
values are described as derefed memory location at caller point. At
callee we can unintentionally change that memory location which would
lead to different entry being printed value before and after the memory
location clobbering. This problem is described in llvm.org/PR43343.
Patch by Nikola Prica
Differential Revision: https://reviews.llvm.org/D67717
llvm-svn: 373089
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
The file was modifiedllvm/test/DebugInfo/MIR/X86/dbgcall-site-interpretation.mir
Commit 7ca15ba73f67f1d3b6652cb19bbf78731e3b128d by lawrence_danna
remove File::SetStream(), make new files instead.
Summary: This patch removes File::SetStream() and File::SetDescriptor(),
and replaces most direct uses of File with pointers to File. Instead of
calling SetStream() on a file, we make a new file and replace it.
My ultimate goal here is to introduce a new API class SBFile, which has
full support for python io.IOStream file objects.   These can redirect
read() and write() to python code, so lldb::Files will need a way to
dispatch those methods.   Additionally it will need some form of sharing
and assigning files, as a SBFile will be passed in and assigned to the
main IO streams of the debugger.
In my prototype patch queue, I make File itself copyable and add a
secondary class FileOps to manage the sharing and dispatch.  In that
case SBFile was a unique_ptr<File>.
(here: https://github.com/smoofra/llvm-project/tree/files)
However in review, Pavel Labath suggested that it be shared_ptr instead.
(here: https://reviews.llvm.org/D67793)
In order for SBFile to use shared_ptr<File>, everything else should as
well.
If this patch is accepted, I will make SBFile use a shared_ptr I will
remove FileOps from future patches and use subclasses of File instead.
Reviewers: JDevlieghere, jasonmolenda, zturner, jingham, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D67891
llvm-svn: 373090
The file was modifiedlldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/source/Target/ThreadPlanTracer.cpp
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/ASan/ASanRuntime.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/TSan/TSanRuntime.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/source/Plugins/InstrumentationRuntime/UBSan/UBSanRuntime.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
The file was modifiedlldb/source/Target/Platform.cpp
Commit 59e26308e60a08a5a4534ba827744564c71d7aff by Louis Dionne
[libc++] Take 2: Implement LWG 3158
Summary: LWG 3158 marks the allocator_arg_t constructor of std::tuple as
conditionnally explicit based on whether the default constructors of the
tuple's members are explicitly default constructible.
This was previously committed as r372778 and reverted in r372832 due to
the commit breaking LLVM's build in C++14 mode. This issue has now been
addressed.
Reviewers: mclow.lists
Subscribers: christof, jkorous, dexonsmith, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D65232
llvm-svn: 373092
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp
The file was modifiedlibcxx/include/tuple
The file was modifiedlibcxx/www/cxx2a_status.html
The file was addedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp
The file was modifiedlibcxx/www/upcoming_meeting.html
Commit db24ef509ecb271a1b03c35c34889f539bc70a32 by yitzhakm
[libTooling] Transformer: refine `SourceLocation` specified as anchor of
changes.
Summary: Every change triggered by a rewrite rule is anchored at a
particular location in the source code.  This patch refines how that
location is chosen and defines it as an explicit function so it can be
shared by other Transformer implementations.
This patch was inspired by a bug found by a clang tidy, wherein two
changes were anchored at the same location (the expansion loc of the
macro) resulting in the discarding of the second change.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66652
llvm-svn: 373093
The file was modifiedclang/lib/Tooling/Refactoring/Transformer.cpp
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/include/clang/Tooling/Refactoring/Transformer.h
Commit 436d5b335ae5ae0d015b9b6196da9e60c2c2690d by dmitry.preobrazhensky
[AMDGPU][MC] Corrected parsing of registers
Summary of changes:
refactored code for better readability and future improvements; fixed
bug 41281: https://bugs.llvm.org/show_bug.cgi?id=41281
Reviewers: artem.tamazov, arsenm
Differential Revision: https://reviews.llvm.org/D65224
llvm-svn: 373094
The file was modifiedllvm/test/MC/AMDGPU/reg-syntax-err.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Commit 623b0e6963e5cbf59e180a9aadb1da8e61d84b47 by llvm-dev
SCCP - silence static analyzer dyn_cast<StructType> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<StructType> directly and if not assert
will fire for us.
llvm-svn: 373095
The file was modifiedllvm/lib/Transforms/Scalar/SCCP.cpp
Commit aae97bfd0c323edef5363ce296c9f6f79db410cf by luismarques
[RISCV] Rename FPRs and use Register arithmetic
The new names for FPRs ensure that the Register values within the same
class are enumerated consecutively (the order is determined by the
`LessRecordRegister` function object). Where there were tables mapping
between 32- and 64-bit FPRs
(and vice versa) this patch replaces them with Register arithmetic. The
enumeration order between different register classes is expected to
continue to be arbitrary, although it does impact the conversion from
the (overloaded) asm FPR names to Register values, and therefore might
require updates to the target if the sorting algorithm is changed.
Static asserts were added to ensure that changes to the ordering that
would impact the current implementation are detected.
Differential Revision: https://reviews.llvm.org/D67423
llvm-svn: 373096
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVCallingConv.td
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.td
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Commit f71f23d14d4353f823ddf93680ddac86e95819d7 by llvm-dev
FunctionImportGlobalProcessing::processGlobalForThinLTO - silence static
analyzer dyn_cast<FunctionSummary> null dereference warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<FunctionSummary> directly and if not
assert will fire for us.
llvm-svn: 373097
The file was modifiedllvm/lib/Transforms/Utils/FunctionImportUtils.cpp
Commit d8e38b9b888b6c18edb41a77e59cbbf86c25bdea by kai.nacke
Change -march=systemz to triple and fix test
These two test cases use -march=systemz instead of a triple. In
particular, the used file format is then based on the default host
triple. This leads to different behaviour on different platforms.
The SystemZ implementation uses the integrated assembler for a long time
now. The mature-mc-support test can be fully enabled.
Differential Revision: https://reviews.llvm.org/D68129
llvm-svn: 373098
The file was modifiedllvm/test/CodeGen/SystemZ/mature-mc-support.ll
The file was modifiedllvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll
Commit 2e0de86808863a3bce977e3a2999f2a625523ca4 by llvm-dev
ModuleUtils - silence static analyzer dyn_cast<> null dereference
warning. NFCI.
The static analyzer is warning about a potential null dereference, but
we should be able to use cast<> directly and if not assert will fire for
us.
llvm-svn: 373099
The file was modifiedllvm/lib/Transforms/Utils/ModuleUtils.cpp
Commit 1a55431a033305605d2f3d6888af3aee17452bd3 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 373100
The file was modifiedllvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
Commit 72c57ec3e6b320c31274dadb888dc16772b8e7b6 by kubakuderski
[Dominators][CodeGen] Clean up MachineDominators
Summary: This is a cleanup patch for MachineDominatorTree. It would be
an NFC, except for replacing custom DomTree verification with the
generic one.
Reviewers: tstellar, tpr, nhaehnle, arsenm, NutshellySima, grosser,
hliao
Reviewed By: arsenm
Subscribers: wdng, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67976
llvm-svn: 373101
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
Commit cdec597905cd19324f6702af03c9ec4f3bf910da by Jonas Devlieghere
[Reproducer] Always use absolute paths for capture & replay.
The VFS requires files to be have absolute paths. The file collector
makes paths relative to the reproducer root. If the root is a relative
path, this would trigger an assert in the VFS. This patch ensures that
we always make the given path absolute.
Thank you Ted Woodward for pointing this out!
llvm-svn: 373102
The file was addedlldb/lit/Reproducer/TestRelativePath.test
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
Commit a524e630a793e18e7d5fabc2262781f310eb0279 by kubakuderski
XFAIL a codegen test AArch64/tailmerging_in_mbp.ll
This test fails when machine dominator tree verifier is run. Needs more
investigation, as this is not a new failure.
llvm-svn: 373103
The file was modifiedllvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
Commit 4ae2381430013b64a3c013c62bf038f3fa659f66 by ibiryukov
[clangd] Fix template type aliases in findExplicitReference
Reviewers: kadircet
Reviewed By: kadircet
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68124
llvm-svn: 373104
The file was modifiedclang-tools-extra/clangd/unittests/FindTargetTests.cpp
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
Commit e3fed89046b3651ab579250cc0fc37efc90aa7f3 by Jonas Devlieghere
[CMake] Make Core depend on ClangDriverOptions (NFC)
ModuleList.cpp includes clang/Driver/Driver.h which depends on
clang/Driver/Options.inc. This patch adds the corresponding TableGen
target to Core.
llvm-svn: 373105
The file was modifiedlldb/source/Core/CMakeLists.txt
Commit 269f1bea0d50070b3acedf248f25f33cc6288406 by lebedev.ri
[InstCombine] Simplify shift-by-sext to shift-by-zext
Summary: This is valid for any `sext` bitwidth pair:
``` Processing /tmp/opt.ll..
----------------------------------------
%signed = sext %y
%r = shl %x, %signed
ret %r
=>
%unsigned = zext %y
%r = shl %x, %unsigned
ret %r
%signed = sext %y
Done: 2016 Optimization is correct!
```
(This isn't so for funnel shifts, there it's illegal for e.g. i6->i7.)
Main motivation is the C++ semantics:
``` int shl(int a, char b) {
   return a << b;
}
``` ends as
```
%3 = sext i8 %1 to i32
%4 = shl i32 %0, %3
``` https://godbolt.org/z/0jgqUq which is, as this shows, too
pessimistic.
There is another problem here - we can only do the fold if sext is
one-use. But we can trivially have cases where several shifts have the
same sext shift amount. This should be resolved, later.
Reviewers: spatel, nikic, RKSimon
Reviewed By: spatel
Subscribers: efriedma, hiraditya, nlopes, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68103
llvm-svn: 373106
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/test/Transforms/InstCombine/load-cmp.ll
The file was modifiedllvm/test/Transforms/InstCombine/shift-by-signext.ll
Commit 432a88bf04532f2bf800963f074d82787ad1dec2 by craig.topper
[X86] Add test case to show failure to perform SimplifyDemandedBits on
mask of avx2 gather intrinsics when avx512 is enabled.
llvm-svn: 373107
The file was modifiedllvm/test/CodeGen/X86/avx2-intrinsics-x86.ll
Commit 750bdda6388668b4fea655ced20bd4e59fe6c968 by craig.topper
[X86] Call SimplifyDemandedBits in combineGatherScatter any time the
mask element is wider than i1, not just when AVX512 is disabled.
The AVX2 intrinsics can still be used when AVX512 is enabled and those
go through this path. So we should simplify them.
llvm-svn: 373108
The file was modifiedllvm/test/CodeGen/X86/avx2-intrinsics-x86.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 1b40402aa2bec5948ca64f5fa257ee010e89287f by spatel
[InstSimplify] add tests for fma/fmuladd with undef operand; NFC
llvm-svn: 373109
The file was modifiedllvm/test/Transforms/InstSimplify/call.ll
Commit dce7edf7e67ad0622b02b5c9cbffafe42b5df131 by jan.kratochvil
Revert: [lldb] [testsuite] Remove redundant MAKE_DSYM := NO
Revert: llvm-svn: 373061
It broke OSX testsuite:
https://reviews.llvm.org/D67589#1686150
lldb/packages/Python/lldbsuite/test/macosx/function-starts/TestFunctionStarts.py
llvm-svn: 373110
The file was modifiedlldb/packages/Python/lldbsuite/test/api/multiple-targets/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/function-starts/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/libraries-svr4/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/frame/recognizer/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/lc-note/kern-ver-str/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/plugins/command_plugin/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/lc-note/kern-ver-str/create-empty-corefile.mk
The file was modifiedlldb/packages/Python/lldbsuite/test/macosx/order/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/api/multiple-debuggers/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/archives/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/module_section/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/inferior-crash/Makefile
Commit 9a39e7f0a38607d444dc1389bd8268a950d6d737 by Jonas Devlieghere
[CMake] Depend on clang-tablegen-targets
The ClangDriverOptions target is not available for standalone builds.
Thanks Alex for pointing this out!
llvm-svn: 373112
The file was modifiedlldb/source/Core/CMakeLists.txt
Commit 2605f8c4616e6c40d6d5d3fecdde1a9b4253719a by d4m1887
[Docs] Adds new section to User Guides page
Adds a section to the User Guides page for articles related to building,
packaging, and distributing LLVM. Includes sub-sections for CMake,
Clang, and Docker.
llvm-svn: 373113
The file was modifiedllvm/docs/UserGuides.rst
Commit 097ba7598455e1f1f8126979eeb96ed30db9ae04 by Jonas Devlieghere
[Reproducer] Update the unit tests to specify the path style.
The unit tests started failing on Windows after my recent patch that
ensured we always deal with absolute paths. This should fix that.
llvm-svn: 373114
The file was modifiedlldb/unittests/Utility/ReproducerTest.cpp
Commit 9c604a0dd6387225e4a612ff84007a2a23149174 by lebedev.ri
[NFC][PhaseOrdering] Add end-to-end tests for the 'two shifts by sext'
problem
We start with two separate sext's, but EarlyCSE runs before InstCombine,
so when we get them, they are a single sext, and we just ignore that.
Likewise, if we had a single sext, we don't do anything there.
llvm-svn: 373115
The file was addedllvm/test/Transforms/PhaseOrdering/two-shifts-by-sext.ll
Commit 9bccdfcd4c4ff34f758c0406139c5e40b9b5f32a by kubakuderski
Revert XFAIL a codegen test AArch64/tailmerging_in_mbp.ll
This reverts r373103 (git commit
a524e630a793e18e7d5fabc2262781f310eb0279)
llvm-svn: 373116
The file was modifiedllvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
Commit 159ef37735f21ae373282e0c53cbd9b6af1e0dfd by kubakuderski
Revert [Dominators][CodeGen] Clean up MachineDominators
This reverts r373101 (git commit
72c57ec3e6b320c31274dadb888dc16772b8e7b6)
llvm-svn: 373117
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
Commit 4b343fd84c0bdf1a0dbec796ce21898625f992eb by serguei.n.dmitriev
[Clang][OpenMP Offload] Create start/end symbols for the offloading
entry table with a help of a linker
Linker automatically provides __start_<section name> and __stop_<section
name> symbols to satisfy unresolved references if <section name> is
representable as a C identifier (see
https://sourceware.org/binutils/docs/ld/Input-Section-Example.html for
details). These symbols indicate the start address and end address of
the output section respectively. Therefore, renaming OpenMP offload
entries section name from ".omp.offloading_entries" to
"omp_offloading_entries" to use this feature.
This is the first part of the patch for eliminating OpenMP linker script
(please see https://reviews.llvm.org/D64943).
Differential Revision: https://reviews.llvm.org/D68070
llvm-svn: 373118
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedclang/test/OpenMP/openmp_offload_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedopenmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/Driver/openmp-offload.c
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen_registration.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
Commit 8cecc30c9905b168e2dd5ad42d733255a7f81904 by spatel
[InstSimplify] generalize FP folds with undef/NaN; NFC
We can reuse this logic for things like fma.
llvm-svn: 373119
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 20daf91af204199cdcac4d4d743df7ffca57001d by Vedant Kumar
[profile] Add a test dependency on cxx-headers
This enables running profile runtime tests which #include <string>, etc.
via just `check-profile`.
llvm-svn: 373120
The file was modifiedcompiler-rt/test/profile/CMakeLists.txt
Commit 9639f3572aa9382891b03d3b8e77ebde15eb72ae by Vedant Kumar
[profile] Mark instrprof-gcov-fork.test UNSUPPORTED on Darwin as well
This test remains flaky everywhere, I think. We should consider deleting
it and accompanying support code in GCOVProfiling: I've stopped short of
doing that now as the gcov exec* tests appear to be stable.
See the thread re: r347779.
llvm-svn: 373121
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-gcov-fork.test
Commit 61422f96653f1ceb01b0dd6229a8b06ac947e2f3 by richard-llvm
For P0784R7: add support for explicit destructor calls and
pseudo-destructor calls in constant evaluation.
llvm-svn: 373122
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/AST/Interp/State.h
The file was modifiedclang/test/CXX/expr/expr.const/p2-0x.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
Commit 84ca5c8cbf9e0f91a7dcea6662b5aa74ecc3f003 by Vedant Kumar
Revert "[profile] Add a test dependency on cxx-headers"
This reverts commit b539350f7d006b7d6f42c5c4b5715da87a52e5d8.
See:
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/52140/steps/annotate/logs/stdio
The cxx-headers target doesn't exist everywhere.
llvm-svn: 373123
The file was modifiedcompiler-rt/test/profile/CMakeLists.txt
Commit b0921daf02dced06f7f2c3dc3176e03650cbd9e6 by Jonas Devlieghere
[Reproducer] Use // in the unit tests
This should be a valid absolute path on both POSIX and Windows.
llvm-svn: 373124
The file was modifiedlldb/unittests/Utility/ReproducerTest.cpp
Commit 121ef04f04ae1b944d85d249bc337555c9cef4ec by yikong
[llvm-readobj] Rename --arm-attributes to --arch-specific
This is for compatibility with GNU readobj. --arm-attributes option is
left as a hidden alias due to large number of tests using it.
Differential Revision: https://reviews.llvm.org/D68110
llvm-svn: 373125
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-12.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-6.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-136.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-11.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-8.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-15.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-4.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-A.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-7.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-conformance-2.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-R.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-5.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-1.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-9.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-0.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-13.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-S.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-10.s
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-2.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-M.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-14.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-3.s
The file was modifiedllvm/test/tools/llvm-readobj/ARM/attribute-conformance-1.s
Commit 117512715d66f613b9eb9016725e5c3591f4f9df by lawrence_danna
refactor: move IOObject::m_should_close_fd into subclasses
Summary: m_should_close_fd doesn't need to be in IOObject.   It will be
useful for my next change to move it down into File and Socket.
Reviewers: labath, JDevlieghere, jasonmolenda
Reviewed By: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68152
llvm-svn: 373126
The file was modifiedlldb/include/lldb/Host/File.h
The file was modifiedlldb/include/lldb/Utility/IOObject.h
The file was modifiedlldb/include/lldb/Host/Socket.h
The file was modifiedlldb/source/Host/common/File.cpp
The file was modifiedlldb/source/Host/common/Socket.cpp
Commit 0b1b3c6068dfacd267dded0395ef1fa262cb3f8c by Jonas Devlieghere
[debugserver] Add --version/-V command line option to debugserver.
When not running under a TTY the output is buffered and not flushed
before debugserver exits which makes it impossible to parse the version
string. This adds a -V/--version command that just prints the version to
stdout and exits with an exit code zero.
Differential revision: https://reviews.llvm.org/D68156
llvm-svn: 373127
The file was modifiedlldb/tools/debugserver/source/debugserver.cpp
Commit 8c39d016705e04be7dcfddae8997a36fcd0ee30d by lebedev.ri
[PatternMatch] Add m_SExtOrSelf(), m_ZExtOrSExtOrSelf() matchers +
unittests
m_SExtOrSelf() is for consistency.
m_ZExtOrSExtOrSelf() is motivated by the D68103/r373106 : sometimes it
is useful to look past any extensions of the shift amount, and
m_ZExtOrSExtOrSelf() may be exactly the tool to do that.
llvm-svn: 373128
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
Commit d1e222e552d9f3d83083220e186c1f4c925e3e9c by mitchphillips
[libFuzzer] Dump trace and provide correct msg for overwritten input.
Summary: Now crashes with a stacktrace and uses 'overwrites-const-input'
as the error message instead of 'out-of-memory'.
Reviewers: morehouse, Dor1s
Reviewed By: morehouse, Dor1s
Subscribers: #sanitizers, llvm-commits, metzman, Dor1s
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D68067
llvm-svn: 373130
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerLoop.cpp
Commit 305c811fd44182b753888059832b04ea4cbba3aa by craig.topper
[X86] Add test case to show missed opportunity to turn (add (zext (vXi1
X)), Y) -> (sub Y, (sext (vXi1 X))) with avx512.
With avx512, the vXi1 type is legal. And we can more easily sign extend
them to vector registers. zext requires a sign extend and a shift.
If we can easily turn the zext into a sext we should.
llvm-svn: 373131
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
Commit fa6584c5421612782efef089cbd9247b8615f315 by shal1t712
[llvm-lipo] Add support for -arch
Add support for -arch.
Differential revision: https://reviews.llvm.org/D68116
Test plan: make check-all
llvm-svn: 373132
The file was modifiedllvm/tools/llvm-lipo/LipoOpts.td
The file was modifiedllvm/tools/llvm-lipo/llvm-lipo.cpp
The file was addedllvm/test/tools/llvm-lipo/create-arch.test
The file was modifiedllvm/test/tools/llvm-lipo/replace-invalid-input.test
Commit f0c4e70e95d94f1d585058c5ad18098e5924d06d by wmi
[SampleFDO] Create a separate flag profile-accurate-for-symsinlist to
handle profile symbol list.
Currently many existing users using profile-sample-accurate want to
reduce code size as much as possible. Their use cases are different from
the scenario profile symbol list tries to handle -- the major motivation
of adding profile symbol list is to get the major memory/code size
saving without introduce performance regression. So to keep the behavior
of profile-sample-accurate unchanged, we think decoupling these two
things and using a new flag to control the handling of profile symbol
list may be better.
When profile-sample-accurate and the new flag
profile-accurate-for-symsinlist are both present, since
profile-sample-accurate is a user assertion we let it have a higher
precedence.
Differential Revision: https://reviews.llvm.org/D68047
llvm-svn: 373133
The file was modifiedllvm/test/Transforms/SampleProfile/profile-sample-accurate.ll
The file was modifiedllvm/test/Transforms/SampleProfile/uncompressed-profile-symbol-list.ll
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/compressed-profile-symbol-list.ll
Commit 92f151738bfe739a874d8a98a2f2a40b5dd02daa by apl
[Core] Remove unused dependency on clangAST
llvm-svn: 373134
The file was modifiedlldb/source/Core/CMakeLists.txt
The file was modifiedlldb/source/Core/DumpDataExtractor.cpp
Commit 93c98346e98a50e481efda95c9b095bf2b1c8a73 by jingham
Give an error when StepUsingScriptedThreadPlan is passed a bad
classname.
Differential Revision: https://reviews.llvm.org/D68173
llvm-svn: 373135
The file was modifiedlldb/include/lldb/Interpreter/ScriptInterpreter.h
The file was modifiedlldb/source/Target/ThreadPlanPython.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
The file was modifiedlldb/include/lldb/Target/ThreadPlanPython.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/step_scripted/TestStepScripted.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
Commit 22984ebd0ec18a262a1c7340db800fd5d3b95025 by craig.topper
[X86] Split combineGatherScatter into a version for generic ISD nodes
and another version for X86 specific nodes.
The majority of the code doesn't run on the X86 nodes today since its
gated by isBeforeLegalizeOps and we don't formm X86 nodes until after
that. Except for a couple special case in type legalization. But I think
we would probably break those if some of the transforms fire on them.
I want to remove the hardcoded operand numbers and the unusual use of
UpdateNodeOperands. Being able to know which ISD opcodes are present
should help with that.
llvm-svn: 373136
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 82a707e94175bf9569f4dd0c0adda094ac046662 by craig.topper
[X86] Stop using UpdateNodeOperands in combineGatherScatter. Create new
nodes like most other DAG combines.
Creating new nodes is what we usually do. Have to explicitly check that
we don't update to an existing node and having to manually manage the
worklist is unusual.
We can probably add a helper function to reduce the duplication of
having to check if we should create a gather or scatter, but I wanted to
just get the simple thing done.
llvm-svn: 373137
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 8b5ad3d16ec6c95e4d685bbdebeec7b5558254af by craig.topper
[X86] Add broadcast load unfolding support for VPTESTMD/Q and
VPTESTNMD/Q.
llvm-svn: 373138
The file was modifiedllvm/test/CodeGen/X86/avx512-broadcast-unfold.ll
The file was modifiedllvm/lib/Target/X86/X86InstrFoldTables.cpp
Commit 76f44f6b534ef5db42c028028dacc8cc91ee2001 by Matthew.Arsenault
AMDGPU/GlobalISel: Avoid getting MRI in every function
Store it in AMDGPUInstructionSelector to avoid boilerplate in nearly
every select function.
llvm-svn: 373139
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Commit 509a4947c911ace18560983466ba5b96f61b6bcb by Amara Emerson
Add an operand to memory intrinsics to denote the "tail" marker.
We need to propagate this information from the IR in order to be able to
safely do tail call optimizations on the intrinsics during legalization.
Assuming it's safe to do tail call opt without checking for the marker
isn't safe because the mem libcall may use allocas from the caller.
This adds an extra immediate operand to the end of the intrinsics and
fixes the legalizer to handle it.
Differential Revision: https://reviews.llvm.org/D68151
llvm-svn: 373140
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memmove.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memset.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-memcpy-et-al.mir
The file was addedllvm/test/MachineVerifier/test_memccpy_intrinsics.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-small-memcpy.mir
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/memcpy_chk_no_tail.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator-struct-return.ll
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/irtranslator/call.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
Commit f7a428ecaac999393aa52c0b409f3a7b730febc4 by anton.a.afanasyev
[TimeProfiler] Fix "OptModule" section and add new "Backend" sections
Remove unnecessary "OptModule" section. Add "PerFunctionPasses",
"PerModulePasses" and "CodeGenPasses" sections under "Backend" section.
llvm-svn: 373142
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
Commit 7d62e480b5c7f6c8ef8e41cbf9f22c025d7aea73 by Amara Emerson
[GlobalISel Enable memcpy inlining with optsize.
We should be disabling inline for minsize, not optsize.
llvm-svn: 373143
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/inline-memcpy.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h
Commit c20fd856d92f7f83d3568a3d8e27eea2cce8f946 by martin
[LLDB] Use the llvm microsoft demangler instead of the windows dbghelp
api. NFC.
If there's any testcases that only do demangling (I didn't find any),
they could be made available for all platforms now.
Differential Revision: https://reviews.llvm.org/D68134
llvm-svn: 373144
The file was modifiedlldb/source/Core/Mangled.cpp
Commit ac7c6d554d50bf5848314524e5ed66e12a7de138 by martin
[LLD] [test] Add a forgotten comment. NFC.
This was requested in https://reviews.llvm.org/D68014, but I forgot to
add it before pushing the commit.
llvm-svn: 373145
The file was modifiedlld/test/ELF/undef.s
Commit b1cd91815e03a914724117f9ffbe498abeb05da7 by martin
Revert "[LLDB] Use the llvm microsoft demangler instead of the windows
dbghelp api. NFC."
This reverts SVN r373144, as it changed the demangled output a little,
see
http://lab.llvm.org:8011/builders/lldb-x64-windows-ninja/builds/9306.
llvm-svn: 373146
The file was modifiedlldb/source/Core/Mangled.cpp