SuccessChanges

Summary

  1. [NFC][CVP] Count all the no-wraps we proved (details)
  2. [AMDGPU][MC][GFX9] Corrected parsing of v_cndmask_b32_sdwa (details)
  3. [SCEV] Removing deprecated comment in ScalarEvolutionExpander (details)
  4. Revert r375152 as it is causing failures on EXPENSIVE_CHECKS bot (details)
  5. Add REQUIRES: x86 to more tests which need the x86 llvm target built (details)
  6. Attempt to fix PS4 buildbot after r375219 (details)
  7. One more attempt to fix PS4 buildbot after r375219 (details)
  8. [lld][coff] Add missing dependency to fix build. (details)
  9. Add ExceptionStream to llvm::Object::minidump (details)
  10. [DFAPacketizer] Fix large compile-time regression for VLIW targets (details)
  11. [AMDGPU][MC][GFX10] Added sdwa/dpp versions of v_cndmask_b32 (details)
  12. Update MinidumpYAML to use minidump::Exception for exception stream (details)
  13. LLDB: Use LLVM's type for minidump ExceptionStream [NFC] (details)
  14. ProcessMinidump: Suppress reporting stop for signal '0' (details)
  15. [tooling] Relax an assert when multiple GPU targets are specified. (details)
  16. [clang-format] fix regression recognizing casts in Obj-C calls (details)
  17. Update docs for fast-math flags. (details)
  18. [IR] Reimplement FPMathOperator::classof as a whitelist. (details)
  19. [X86] combineX86ShufflesRecursively - pull out (details)
  20. [PGO][PGSO] SizeOpts changes. (details)
  21. [OPENMP50]Add support for master taskloop simd. (details)
  22. gn build: Merge r375254 (details)
  23. [DOCS]Update list of implemented constructs, NFC. (details)
  24. [Format] Add format check for throwing negative numbers (details)
  25. [Reproducer] Use ::rtrim() to remove trailing control characters. (details)
  26. [NFC][CVP] Add @llvm.*.sat tests where we could prove both no-overflows (details)
  27. [Codegen] Link MIRParser into CodeGenTests to fix MachineSizeOptsTest (details)
  28. [lit] Only send back test result from worker process (details)
  29. [lit] Remove unnecessary tracking of test_index (details)
  30. [lit] Reduce value of synthesized timeouts (details)
  31. AMDGPU: Fix SMEM WAR hazard for gfx10 readlane (details)
  32. [examples] Add an example of how to use JITLink and small-code-model (details)
  33. AMDGPU: Relax 32-bit SGPR register class (details)
  34. [examples] Fix some comments in the LLJITWithJITLink example (details)
  35. [lldb][NFC] Remove wrong tests in TestCallOverriddenMethod (details)
  36. [CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't (details)
  37. [libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic (details)
  38. scudo: Update TLS_SLOT_SANITIZER value. (details)
  39. [GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual (details)
  40. [analyzer] Fix hidden node traversal in exploded graph dumps. (details)
  41. [analyzer] exploded-graph-rewriter: Fix dump for state 0. (details)
  42. [analyzer] Drop the logic for collapsing the state if it's same as in (details)
  43. [analyzer] Fix FieldRegion dumps. (details)
  44. [analyzer] exploded-graph-rewriter: Rename Environment to Expressions. (details)
  45. [WebAssembly] Allow multivalue signatures in object files (details)
  46. Update global_symbols.txt. (details)
  47. [NFC][CVP] Some tests for `mul` no-wrap deduction (details)
  48. [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the (details)
  49. [X86] Fix register parsing in .seh_* in Intel syntax (details)
  50. Disable exit-on-SIGPIPE in lldb (details)
  51. gn build: Merge r375288 (details)
  52. [CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats (details)
  53. [Reproducer] Improve reproducer help (NFC) (details)
  54. [AMDGPU] Remove -amdgpu-spill-sgpr-to-smem. (details)
  55. [Reproducer] XFAIL TestWorkingDir on Windows (details)
  56. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  57. [hwasan] Remove system allocator fallback. (details)
  58. [AMDGPU] move PHI nodes to AGPR class (details)
  59. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  60. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  61. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  62. [profile] Do not cache __llvm_profile_get_filename result (details)
  63. DebugInfo: Render the canonical name of a class template specialization, (details)
  64. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  65. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  66. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  67. [analyzer] Specify the C++ standard in more tests. (details)
  68. [hip][cuda] Fix the extended lambda name mangling issue. (details)
  69. [clang][driver] Print compilation phases with indentation. (details)
  70. Prune two MachineInstr.h includes, fix up deps (details)
  71. Skip (more) PExpect tests under ASAN, I can't get them to work reliably. (details)
  72. Sema: Create a no-op implicit cast for lvalue function conversions. (details)
  73. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  74. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  75. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  76. New tautological warning for bitwise-or with non-zero constant always (details)
  77. Prune Analysis includes from SelectionDAG.h (details)
  78. Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each (details)
  79. AMDGPU: Remove optnone from a test (details)
  80. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which (details)
  81. Avoid including CodeView/SymbolRecord.h from MCStreamer.h (details)
  82. Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with (details)
  83. [Docs] Fix header level. (details)
  84. [analyzer] Fix a crash on tracking Objective-C 'self' as a control (details)
  85. [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. (details)
  86. [LLDB] bugfix: command script add -f doesn't work for some callables (details)
  87. convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args (details)
  88. Make it clear in the doc that 'all' in LLVM_ENABLE_PROJECTS does install (details)
  89. Revert "[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash (details)
  90. Explicit in the doc the current list of projects (with easy copy and (details)
  91. Refine check for `_LIBCPP_C_HAS_NO_GETS` on FreeBSD (details)
  92. [X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops (details)
Commit fa0ac2558eaf3860c377744e4fef71d6b730d358 by lebedev.ri
[NFC][CVP] Count all the no-wraps we proved
Summary: It looks like this is the only missing statistic in the CVP
pass. Since we prove NSW and NUW separately i'd think we should count
them separately too.
Reviewers: nikic, spatel, reames
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68740
llvm-svn: 375230
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 7d325fe57b422116c910f3dba66f6266b2f9409b by dmitry.preobrazhensky
[AMDGPU][MC][GFX9] Corrected parsing of v_cndmask_b32_sdwa
See https://bugs.llvm.org/show_bug.cgi?id=43607
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D69095
llvm-svn: 375231
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/MC/AMDGPU/vop_sdwa.s
Commit e64863d19242c12187ce15768d4a65ad9725e2ce by victor.campos
[SCEV] Removing deprecated comment in ScalarEvolutionExpander
Removing a comment in the ScalarEvolutionExpander.cpp file that was
about the class SCEVSDivExpr, which has been long gone from LLVM.
llvm-svn: 375232
The file was modifiedllvm/lib/Analysis/ScalarEvolutionExpander.cpp
Commit dd7021d466d175525c6d8e35f0cd20338b008540 by nemanja.i.ibm
Revert r375152 as it is causing failures on EXPENSIVE_CHECKS bot
llvm-svn: 375233
The file was modifiedllvm/test/CodeGen/PowerPC/pr42492.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vec-min-max.ll
The file was modifiedllvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/tocSaveInPrologue.ll
The file was modifiedllvm/test/CodeGen/PowerPC/brcond.ll
Commit ea8b8fdf90d3d72db04b07950e913536a2116608 by pavel
Add REQUIRES: x86 to more tests which need the x86 llvm target built
llvm-svn: 375234
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump/TestMiniDump.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-cfi.test
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/unwind-via-stack-win.test
Commit 7e8f79cdc1ef7149960ed01a6ad32393b1038bed by eleviant
Attempt to fix PS4 buildbot after r375219
llvm-svn: 375235
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
Commit be78734371e9e172e6c9d883f5acf023dcffdc1b by eleviant
One more attempt to fix PS4 buildbot after r375219
PS4 buildbot seems to be dropping variable names for some reason
llvm-svn: 375237
The file was modifiedllvm/test/ThinLTO/X86/devirt_promote_legacy.ll
Commit 92fea8bb8dffe8f5a7653c9635d409c17b7222eb by michael.hliao
[lld][coff] Add missing dependency to fix build.
llvm-svn: 375238
The file was modifiedlld/COFF/CMakeLists.txt
Commit e44524736c4a97ae4fb37193e58647f838f6d36a by jotrem
Add ExceptionStream to llvm::Object::minidump
Summary: This will allow updating MinidumpYAML and LLDB to use this
common definition.
Reviewers: labath, jhenderson, clayborg
Reviewed By: labath
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68656
llvm-svn: 375239
The file was modifiedllvm/include/llvm/BinaryFormat/Minidump.h
The file was modifiedllvm/unittests/Object/MinidumpTest.cpp
The file was modifiedllvm/include/llvm/Object/Minidump.h
Commit d5afdbe5a456c055df19421c8d1810d65fbfaeee by jmolloy
[DFAPacketizer] Fix large compile-time regression for VLIW targets
D68992 / rL375086 refactored the packetizer and removed a bunch of
logic. Unfortunately it creates an Automaton object whenever a
DFAPacketizer is required. These objects have no longevity, and in
particular on a debug build the population of the Automaton's transition
map from the underlying table is very slow (because it is called ~10
times per MachineFunction, in the testcase I'm looking at).
This patch changes Automaton to wrap its underlying constant data in
std::shared_ptr, which allows trivial copy construction. The
DFAPacketizer creation function now creates a static archetypical
Automaton and copies that whenever a new DFAPacketizer is required.
This takes a testcase down from ~20s to ~0.5s in debug mode.
llvm-svn: 375240
The file was modifiedllvm/utils/TableGen/DFAPacketizerEmitter.cpp
The file was modifiedllvm/include/llvm/Support/Automaton.h
Commit 6c7d7eebda38340d8bbaf99c6ceedb55e32c3a72 by dmitry.preobrazhensky
[AMDGPU][MC][GFX10] Added sdwa/dpp versions of v_cndmask_b32
See https://bugs.llvm.org/show_bug.cgi?id=43608
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D69096
llvm-svn: 375241
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/wave32.txt
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_dpp8.s
The file was modifiedllvm/test/MC/AMDGPU/wave32.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_dpp16.txt
Commit a50272f8261f775d085524672d33cf67b27cd045 by jotrem
Update MinidumpYAML to use minidump::Exception for exception stream
Reviewers: labath, jhenderson, clayborg, MaskRay, grimar
Reviewed By: grimar
Subscribers: lldb-commits, grimar, MaskRay, hiraditya, llvm-commits
Tags: #llvm, #lldb
Differential Revision: https://reviews.llvm.org/D68657
llvm-svn: 375242
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64.yaml
The file was addedllvm/test/tools/yaml2obj/minidump-exception-missing-parameter.yaml
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/test/tools/obj2yaml/basic-minidump.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/MinidumpYAML.h
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
Commit d094d97d02232f3c7c5b3b792760cedb5ccac25b by jotrem
LLDB: Use LLVM's type for minidump ExceptionStream [NFC]
Summary: The types defined for it in LLDB are now redundant with core
types.
Reviewers: labath, clayborg
Reviewed By: clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68658
llvm-svn: 375243
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpTypes.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpTypes.h
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.h
Commit 77460d3888c56a6ed8184783388ed109590ee199 by jotrem
ProcessMinidump: Suppress reporting stop for signal '0'
Summary: The minidump exception stream can report an exception record
with signal 0.  If we try to create a stop reason with signal zero,
processing of the stop event won't find anything, and the debugger will
hang. So, simply early-out of RefreshStateAfterStop in this case.
Also set the UnixSignals object in DoLoadCore as is done for
ProcessElfCore.
Reviewers: labath, clayborg, jfb
Reviewed By: labath, clayborg
Subscribers: dexonsmith, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68096
llvm-svn: 375244
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/linux-x86_64_null_signal.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/minidump-new/TestMiniDumpNew.py
Commit 7e5d5ee873e14b7e3db0ee07fa402aca13f83a36 by michael.hliao
[tooling] Relax an assert when multiple GPU targets are specified.
llvm-svn: 375245
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit eff2a2ab2b51070133c39336c91b3f8d1c31e0c4 by krasimir
[clang-format] fix regression recognizing casts in Obj-C calls
Summary: r373922 added checks for a few tokens that, following an `)`
make it unlikely that the `)` is the closing paren of a cast expression.
The specific check for `tok::l_square` there introduced a regression for
casts of Obj-C calls, like:
```
(cast)[func arg]
``` From the tests added in r373922, I believe the `tok::l_square` case
is added to capture the case where a non-cast `)` is directly followed
by an attribute specifier, like:
``` int f(int x) [[noreturn]];
```
I've specialized the code to look for such attribute specifier instead
of `tok::l_square` in general. Also, I added a regression test and moved
the test cases added in r373922 to an already existing place documenting
other instances of historically misidentified casts.
Reviewers: MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69164
llvm-svn: 375247
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit aa3806b47c74c814c9cb6f1de6a5570998b8f011 by jay.foad
Update docs for fast-math flags.
This adds fneg, phi and select to the list of operations that may use
fast-math flags.
llvm-svn: 375250
The file was modifiedllvm/docs/LangRef.rst
Commit a162817a2b7ca0d7bd285a2a3e969a3a652aad57 by jay.foad
[IR] Reimplement FPMathOperator::classof as a whitelist.
Summary: This makes it much easier to verify that the implementation
matches the documentation. It uncovered a bug in the unit tests where we
were accidentally setting fast math flags on a load instruction.
Reviewers: spatel, wristow, arsenm, hfinkel, aemerson, efriedma,
cameron.mcinally, mcberg2017, jmolloy
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69176
llvm-svn: 375252
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
Commit 696794b66eb29f12a3138a02ef647769bbf9fb38 by llvm-dev
[X86] combineX86ShufflesRecursively - pull out
isTargetShuffleVariableMask. NFCI.
llvm-svn: 375253
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e1637451d20d40553165f806094ada30cb0a708 by yamauchi
[PGO][PGSO] SizeOpts changes.
Summary:
(Split of off D67120)
SizeOpts/MachineSizeOpts changes for profile guided size optimization.
Reviewers: davidxl
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69070
llvm-svn: 375254
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
The file was addedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was addedllvm/include/llvm/CodeGen/MachineSizeOpts.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/unittests/CodeGen/MachineSizeOptsTest.cpp
The file was addedllvm/lib/CodeGen/MachineSizeOpts.cpp
Commit b8552abfe7ce0c4cd37d136bbcf8cb319a28f260 by a.bataev
[OPENMP50]Add support for master taskloop simd.
Added  trsing/semantics/codegen for combined construct master taskloop
simd.
llvm-svn: 375255
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_grainsize_messages.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/master_taskloop_simd_final_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_loop_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_num_tasks_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was addedclang/test/OpenMP/master_taskloop_simd_codegen.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_priority_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
Commit 52dc406efc717cf5aca1f5ee5600382f348969db by llvmgnsyncbot
gn build: Merge r375254
llvm-svn: 375256
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 80fe5cffd2eef46ebd19aac6d8c6f2c3f9b4290f by a.bataev
[DOCS]Update list of implemented constructs, NFC.
llvm-svn: 375257
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 7f704320b058f7217847ee0e599f64e2ce50447c by modocache
[Format] Add format check for throwing negative numbers
Summary: The code `throw -1;` is currently formatted by clang-format as
`throw - 1;`. This diff adds a fix for this edge case and a test to
check for this in the future.
For context, I am looking into a related bug in the clang-formatting of
coroutine keywords: `co_yield -1;` is also reformatted in this manner as
`co_yield - 1;`. A later diff will add these changes and tests for the
`co_yield` and `co_return` keywords.
Patch by Jonathan Thomas (jonathoma)!
Reviewers: modocache, sammccall, Quuxplusone
Reviewed By: sammccall
Subscribers: cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D69144
llvm-svn: 375258
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit ded44e220f6ce15258663a0353cccc188211f1d7 by Jonas Devlieghere
[Reproducer] Use ::rtrim() to remove trailing control characters.
Pavel correctly pointed out that removing all control characters from
the working directory is overkill. It should be sufficient to just strip
the last ones.
llvm-svn: 375259
The file was modifiedlldb/source/Initialization/SystemInitializerCommon.cpp
Commit d532f12c82e31ebe260177c0812d20b6a8235272 by lebedev.ri
[NFC][CVP] Add @llvm.*.sat tests where we could prove both no-overflows
llvm-svn: 375260
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
Commit 9a055dc19163b5e9eaa0dde6869502fd33b4f44e by lebedev.ri
[Codegen] Link MIRParser into CodeGenTests to fix MachineSizeOptsTest
building
llvm-svn: 375261
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
Commit 17bb660fb83e869652ac87b145b0e26b708aab60 by jlettner
[lit] Only send back test result from worker process
Avoid sending back the whole run.Test object (which needs to be pickled)
from the worker process when we are only interested in the test result.
llvm-svn: 375262
The file was modifiedllvm/utils/lit/lit/run.py
The file was modifiedllvm/utils/lit/lit/worker.py
The file was modifiedllvm/utils/lit/lit/LitTestCase.py
Commit 0381867f8454548c5242830b98a0e4913a05084a by jlettner
[lit] Remove unnecessary tracking of test_index
llvm-svn: 375263
The file was modifiedllvm/utils/lit/lit/worker.py
The file was modifiedllvm/utils/lit/lit/run.py
Commit 80873de5323884d942cf23c0164a6cc932e9ab7e by jlettner
[lit] Reduce value of synthesized timeouts
Large timeout values (one year, positive infinity) trip up Python on
Windows with "OverflowError: timeout value is too large".  One week
seems to work and is still large enough in practice.
Thanks to Simon Pilgrim for helping me test this.
https://reviews.llvm.org/rL375171
llvm-svn: 375264
The file was modifiedllvm/utils/lit/lit/run.py
Commit 2f41a023afdb68364ea490135874425e85faa574 by Austin.Kerbow
AMDGPU: Fix SMEM WAR hazard for gfx10 readlane
Summary: Hazard recognizer fails to see hazard with
V_READLANE_B32_gfx10.
Reviewers: rampitec
Reviewed By: rampitec
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69172
llvm-svn: 375265
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/smem-war-hazard.mir
Commit 1ac3f80a6a097afd776e925fee4b1176b4383d7f by Lang Hames
[examples] Add an example of how to use JITLink and small-code-model
with LLJIT.
JITLink is LLVM's newer jit-linker. It is an alternative to (and
hopefully eventually a replacement for) LLVM's older jit-linker,
RuntimeDyld. Unlike RuntimeDyld which requries JIT'd code to be complied
with the large code model, JITlink can link code compiled with the small
code model, which is the native code model for a number of targets
(including all supported MachO targets).
This example shows how to:
-- Create a JITLink InProcessMemoryManager
-- Set the code model to small
-- Use a JITLink backed ObjectLinkingLayer as the linking layer for
LLJIT
  (rather than the default RTDyldObjectLinkingLayer).
Note: This example will only work on platforms supported by JITLink. As
of this commit that's MachO/x86-64 and MachO/arm64.
llvm-svn: 375266
The file was addedllvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
The file was addedllvm/examples/LLJITExamples/LLJITWithJITLink/CMakeLists.txt
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
Commit f9a42ed0a7f67979cdd20391366e2a059c2e14c8 by Matthew.Arsenault
AMDGPU: Relax 32-bit SGPR register class
Mostly use SReg_32 instead of SReg_32_XM0 for arbitrary values. This
will allow the register coalescer to do a better job eliminating copies
to m0.
For GlobalISel, as a terrible hack, use SGPR_32 for things that should
use SCC until booleans are solved.
llvm-svn: 375267
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-phi.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.mbcnt.lo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctpop.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-usubo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-bitreverse.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cos.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-mul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uaddo.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-frame-index.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-xor.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ffloor.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.u16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sffbh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-umulh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.clamp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-ffbh-u32.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.u16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-uitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fmed3.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.fract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.s.sendmsg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pk.i16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-mask.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-extract.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rsq.legacy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcmp.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-smulh.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-constraints.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmaxnum-ieee.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.sin.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptrtoint.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-and.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fminnum-ieee.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pknorm.i16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/read_register.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.ldexp.s16.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.rcp.legacy.mir
Commit bb7dd55f675f156c26b98bd7e411a46412cb15d2 by Lang Hames
[examples] Fix some comments in the LLJITWithJITLink example
llvm-svn: 375269
The file was modifiedllvm/examples/LLJITExamples/LLJITWithJITLink/LLJITWithJITLink.cpp
Commit 5c28d49314c7bb84f08c9db3acd5ff64e1c4bc2d by Raphael Isemann
[lldb][NFC] Remove wrong tests in TestCallOverriddenMethod
We call these tests in the second test function where they are x-failed
on Windows. I forgot to remove the tests from the first test function
(which is not x-failed on Windows) when extracting these calls into
their own test function, so the test is still failing on Windows.
llvm-svn: 375271
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py
Commit 284b6d7f4da2260d996834fd1fabec461310bc96 by lebedev.ri
[CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't
overflow, also try to prove other no-wrap
Summary: CVP, unlike InstCombine, does not run till exaustion. It only
does a single pass.
When dealing with those special binops, if we prove that they can safely
be demoted into their usual binop form, we do set the no-wrap we
deduced. But when dealing with usual binops, we try to deduce both
no-wraps.
So if we convert e.g. @llvm.uadd.with.overflow() to `add nuw`, we won't
attempt to check whether it can be `add nuw nsw`.
This patch proposes to call `processBinOp()` on newly-created binop,
which is identical to what we do for div/rem already.
Reviewers: nikic, spatel, reames
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69183
llvm-svn: 375273
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 788acc6ff8ee3b2fc16a3f68179b0b445f6f4381 by rprichard
[libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic
Summary: Fix the arm_section_length count. The meaning of the
arm_section_length field changed from num-of-elements to num-of-bytes
when the dl_unwind_find_exidx special case was removed (D30306 and
D30681). The special case was restored in D39468, but that patch didn't
account for the change in arm_section_length's meaning.
That patch worked when it was applied to the NDK's fork of libunwind,
because it never removed the special case in the first place, and the
special case is probably disabled in the Android platform's copy of
libunwind, because __ANDROID_API__ is greater than 21.
Turn the dl_unwind_find_exidx special case on unconditionally for
Bionic. Bionic's dl_unwind_find_exidx is much faster than using
dl_iterate_phdr.
(e.g. Bionic stores exidx info on an internal soinfo object.)
Reviewers: thomasanderson, srhines, danalbert, ed, keith.walker.arm,
mclow.lists, compnerd
Reviewed By: srhines, danalbert
Subscribers: srhines, kristof.beyls, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68972
llvm-svn: 375275
The file was modifiedlibunwind/src/UnwindCursor.hpp
The file was modifiedlibunwind/src/AddressSpace.hpp
Commit cf25242daaf876085f6f665c26fa3aa3cd502040 by peter
scudo: Update TLS_SLOT_SANITIZER value.
Android now allocates only 8 fixed TLS slots. Somehow we were getting
away with using a non-existent slot until now, but in some cases the TLS
slots were being placed at the end of a page, which led to a segfault at
startup.
Differential Revision: https://reviews.llvm.org/D69191
llvm-svn: 375276
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.h
Commit 9f9151d49410cee6aa8528b109f3753878b30ba3 by quentin.colombet
[GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual
method
The default implementation of isIncomingArgumentHandler could lead to
generating incorrect code. Make it a pure virtual method, so that
targets know they have to override it to produce correct code.
NFC
Differential Revision: https://reviews.llvm.org/D69187
llvm-svn: 375277
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
Commit 7a17f197093a6872d910b7486cfd43a53aba220b by Artem Dergachev
[analyzer] Fix hidden node traversal in exploded graph dumps.
The joined nodes now actually have the same state. That was intended
from the start but the original implementation turned out to be buggy.
Differential Revision: https://reviews.llvm.org/D69150
llvm-svn: 375278
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit d93b810cd673d37598ed05334a662e6878c32812 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Fix dump for state 0.
It shouldn't say "unspecified" when the state is specified to be empty.
llvm-svn: 375279
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/program_points.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/trimmers.dot
Commit b3e34e043cae03e56f2a1b23eae1669e1c3be770 by Artem Dergachev
[analyzer] Drop the logic for collapsing the state if it's same as in
preds.
One of the first attempts to reduce the size of the exploded graph dumps
was to skip the state dump as long as the state is the same as in all of
the predecessor nodes. With all the new facilities in place (node
joining, diff dumps), this feature doesn't do much, and when it does,
it's more harmful than useful. Let's remove it.
llvm-svn: 375280
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 2b4f6df91775a4f13233a04d3377f8233c7087f6 by Artem Dergachev
[analyzer] Fix FieldRegion dumps.
The '->' thing has always been confusing; the actual operation '->'
translates to a pointer dereference together with adding a FieldRegion,
but FieldRegion on its own doesn't imply an additional pointer
dereference.
llvm-svn: 375281
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/MemRegion.cpp
The file was modifiedclang/test/Analysis/dump_egraph.cpp
Commit c6921379f55ee566fb62ba5aa47b217cf7c5d960 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Rename Environment to Expressions.
It's less confusing for newcomers.
llvm-svn: 375282
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/escapes.c
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
Commit 393d0f799f8828e9d8002766a9e9db21797451df by tlively
[WebAssembly] Allow multivalue signatures in object files
Summary: Also changes the wasm YAML format to reflect the possibility of
having multiple return types and to put the returns after the params for
consistency with the binary encoding.
Reviewers: aheejin, sbc100
Subscribers: dschuff, jgravelle-google, hiraditya, sunfish, arphaman,
rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69156
llvm-svn: 375283
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedlld/test/wasm/Inputs/globals.yaml
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/tailcall.ll
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedllvm/test/Object/wasm-duplicate-name.test
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedllvm/test/tools/llvm-readobj/wasm-imports.test
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/ObjectYAML/wasm/linking_section.yaml
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.ll
The file was modifiedllvm/test/MC/WebAssembly/types.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
The file was modifiedlld/test/wasm/alias.ll
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedlld/test/wasm/gc-sections.ll
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedlld/test/wasm/Inputs/undefined-globals.yaml
The file was modifiedlld/test/wasm/function-imports-first.ll
The file was modifiedlld/test/wasm/function-index.test
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedlld/test/wasm/event-section.ll
The file was modifiedllvm/test/ObjectYAML/wasm/name_section.yaml
The file was modifiedllvm/test/Object/wasm-relocs-and-producers.yaml
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/imports.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/tools/llvm-nm/wasm/exports.yaml
The file was modifiedlld/test/wasm/function-imports.ll
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedlld/test/wasm/weak-alias.ll
Commit a8323679bdf995289d7e63bdaf1672091aad4665 by peter
Update global_symbols.txt.
llvm-svn: 375284
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Commit 7c4fa28e5cf08f53c1af68121a40e052805d963e by lebedev.ri
[NFC][CVP] Some tests for `mul` no-wrap deduction
llvm-svn: 375285
The file was addedllvm/test/Transforms/CorrelatedValuePropagation/mul.ll
Commit 3ff26e27d93ea4ca753bd4109b46e0ae4dcca293 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the
test.
They're not stable across machines.
Fixes buildbots after r375278.
llvm-svn: 375286
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 52d765544b50d2260cf4858ed63c827880b987df by rnk
[X86] Fix register parsing in .seh_* in Intel syntax
Previously, the parser checked for a '%' prefix to indicate a register.
In Intel syntax mode, LLVM does not print a '%' prefix on registers, so
LLVM could not parse its own assembly output. Instead, require that
register numbers be integer literals, or at least start with an integer
literal, which is consistent with .cfi_* directive register parsing.
llvm-svn: 375287
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
The file was modifiedllvm/test/MC/AsmParser/directive_seh.s
Commit 32ce14e55e5a99dd99c3b4fd4bd0ccaaf2948c30 by Vedant Kumar
Disable exit-on-SIGPIPE in lldb
Occasionally, during test teardown, LLDB writes to a closed pipe.
Sometimes the communication is inherently unreliable, so LLDB tries to
avoid being killed due to SIGPIPE (it calls `signal(SIGPIPE, SIG_IGN)`).
However, LLVM's default SIGPIPE behavior overrides LLDB's, causing it to
exit with IO_ERR.
Opt LLDB out of the default SIGPIPE behavior. I expect that this will
resolve some LLDB test suite flakiness (tests randomly failing with
IO_ERR) that we've seen since r344372.
rdar://55750240
Differential Revision: https://reviews.llvm.org/D69148
llvm-svn: 375288
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was modifiedllvm/include/llvm/Support/Signals.h
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was addedllvm/unittests/Support/SignalsTest.cpp
The file was modifiedllvm/lib/Support/Windows/Signals.inc
The file was modifiedlldb/tools/driver/Driver.cpp
Commit e8da5e51cd9592145f4dff62281a3fa730aab876 by llvmgnsyncbot
gn build: Merge r375288
llvm-svn: 375289
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Commit e695f4c851c397d352afa6a9fcd509e68467037d by lebedev.ri
[CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats
This is really embarrassing. Those are pointers, so that offsets the
pointers, not the statistics pointed-by the pointer...
llvm-svn: 375290
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 64b7d95568607eac5336428a22e02f27b8663a79 by Jonas Devlieghere
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command.
llvm-svn: 375292
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit a9aa4ec6a31c3c37796ca168b41f311b21359e19 by jay.foad
[AMDGPU] Remove -amdgpu-spill-sgpr-to-smem.
Summary: The implementation was never completed and never used except in
tests.
Reviewers: arsenm, mareko
Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69163
llvm-svn: 375293
The file was removedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.ll
The file was removedllvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/basic-branch.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
The file was modifiedllvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
Commit 06a2beae92f5d2adcd0143a6798918418c2ea325 by Jonas Devlieghere
[Reproducer] XFAIL TestWorkingDir on Windows
I'm having a hard time reproducing this and it's failing on the Windows
bot. Temporarily X-failing this test while I continue to try building
LLDB on Windows.
llvm-svn: 375294
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit 8c8ec1f6868bd0f96801fabc55ea395d9d171f06 by wmi
[SampleFDO] Add profile remapping support for profile on-demand loading
used by ExtBinary format profile
Profile on-demand loading was added for ExtBinary format profile in
rL374233, but currently profile on-demand loading doesn't work well with
profile remapping. The patch adds the support.
Suppose a function in the current module has outline instance in the
profile. The function name in the module is different from the name of
the outline instance, but remapper knows the two names are equal. When
loading profile on-demand, the outline instance has to be loaded with
remapper's help.
At the same time SampleProfileReaderItaniumRemapper is changed from a
proxy of SampleProfileReader to a helper member in SampleProfileReader.
Differential Revision: https://reviews.llvm.org/D68901
llvm-svn: 375295
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 0b7f320c3acb4ed75e5b3acf3460176b5b20b1aa by eugeni.stepanov
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition,
made possible by a non-standard feature of the Android dynamic loader.
Reviewers: pcc, mmalcomson
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69199
llvm-svn: 375296
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
Commit 0fab220eb5882ef451d039d5251a0a1298121f63 by Stanislav.Mekhanoshin
[AMDGPU] move PHI nodes to AGPR class
If all uses of a PHI are in AGPR register class we should avoid unneeded
copies via VGPRs.
Differential Revision: https://reviews.llvm.org/D69200
llvm-svn: 375297
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
Commit 33b758d2af312d02f2b5ef6915e62c6bb06e944e by peter
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on
__hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
llvm-svn: 375298
The file was modifiedcompiler-rt/lib/hwasan/hwasan_exceptions.cpp
Commit 3b113a2be6dc9a614bd5c95138a6c34d44fe67d9 by peter
gn build: Build compiler-rt code with -fvisibility=hidden.
This matches the CMake build.
Differential Revision: https://reviews.llvm.org/D69202
llvm-svn: 375299
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit d4274f0174ff152490195fa2a65e4087deae3dd4 by Matthew.Arsenault
LiveIntervals: Fix handleMoveUp with subreg def moving across a def
If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point of
the moved interval ended too early and missed the use from theh other
lanes in the subreg def.
llvm-svn: 375300
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
The file was modifiedclang/test/Driver/darwin-ld.c
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
Commit 9fdd09a4ccd01feb8e00be22b17e944e46807746 by dblaikie
DebugInfo: Render the canonical name of a class template specialization,
even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
llvm-svn: 375304
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
Commit 778dc0f1d49230f53401ae0c190fe460bda4ffd1 by richard-llvm
[c++20] Add CXXRewrittenBinaryOperator to represent a comparison
operator that is rewritten as a call to multiple other operators.
No functionality change yet: nothing creates these expressions.
llvm-svn: 375305
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
Commit 974c8b7e2fde550fd87850d50695341101c38c2d by richard-llvm
[c++20] Add rewriting from comparison operators to <=> / ==.
This adds support for rewriting <, >, <=, and >= to a normal or reversed
call to operator<=>, for rewriting != to a normal or reversed call to
operator==, and for rewriting <=> and == to reversed forms of those same
operators.
Note that this is a breaking change for various C++17 code patterns,
including some in use in LLVM. The most common patterns (where an
operator== becomes ambiguous with a reversed form of itself) are still
accepted under this patch, as an extension (with a warning). I'm hopeful
that we can get the language rules fixed before C++20 ships, and the
extension warning is aimed primarily at providing data to inform that
decision.
llvm-svn: 375306
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
Commit a9727033fb5fa229b520e0e0d973f68780bc5348 by richard-llvm
P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of
is_invocable that would internally conjure up a deprecated function
type.
Summary: The implementation of P1152R4 in Clang has resulted in some
deprecation warnings appearing in the libc++ and libc++abi test suite.
Fix or suppress these warnings.
Reviewers: mclow.lists, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68879
llvm-svn: 375307
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
The file was modifiedlibcxx/include/type_traits
Commit b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e by Artem Dergachev
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default
standard.
llvm-svn: 375308
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/new-ctor-null-throw.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/ptr-iter.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
The file was modifiedclang/test/Analysis/malloc.mm
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
Commit 243ebfba17da72566ba29a891193e4814cbc4ef3 by michael.hliao
[hip][cuda] Fix the extended lambda name mangling issue.
Summary:
- HIP/CUDA host side needs to use device kernel symbol name to match the
device side binaries. Without a consistent naming between host- and
device-side compilations, it's risky that wrong device binaries are
executed. Consistent naming is usually not an issue until unnamed
types are used, especially the lambda. In this patch, the consistent
name mangling is addressed for the extended lambdas, i.e. the lambdas
annotated with `__device__`.
- In [Itanium C++ ABI][1], the mangling of the lambda is generally
unspecified unless, in certain cases, ODR rule is required to ensure
consisent naming cross TUs. The extended lambda is such a case as its
name may be part of a device kernel function, e.g., the extended
lambda is used as a template argument and etc. Thus, we need to force
ODR for extended lambdas as they are referenced in both device- and
host-side TUs. Furthermore, if a extended lambda is nested in other
(extended or not) lambdas, those lambdas are required to follow ODR
naming as well. This patch revises the current lambda mangle numbering
to force ODR from an extended lambda to all its parent lambdas.
- On the other side, the aforementioned ODR naming should not change
those lambdas' original linkages, i.e., we cannot replace the original
`internal` with `linkonce_odr`; otherwise, we may violate ODR in
general. This patch introduces a new field `HasKnownInternalLinkage`
in lambda data to decouple the current linkage calculation based on
mangling number assigned.
[1]: https://itanium-cxx-abi.github.io/cxx-abi/abi.html
Reviewers: tra, rsmith, yaxunl, martong, shafik
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68818
llvm-svn: 375309
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was addedclang/test/CodeGenCUDA/unnamed-types.cu
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/lib/AST/Decl.cpp
Commit d7a487adfedb36c88f5ca24f5bcb93f140116106 by michael.hliao
[clang][driver] Print compilation phases with indentation.
Reviewers: tra, sfantao, echristo
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69124
llvm-svn: 375310
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 1d7b41361ffa208291119cd145a62a366adac569 by rnk
Prune two MachineInstr.h includes, fix up deps
MachineInstr.h included AliasAnalysis.h, which includes a world of IR
constructs mostly unneeded in CodeGen. Prune it. Same for
DebugInfoMetadata.h.
Noticed with -ftime-trace.
llvm-svn: 375311
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/Target/Hexagon/RDFDeadCode.cpp
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
Commit 0904f924012db8002eec3a0533e310c1e714cca4 by Adrian Prantl
Skip (more) PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 375312
The file was modifiedlldb/packages/Python/lldbsuite/test/iohandler/completion/TestIOHandlerCompletion.py
Commit 766f15814a012e5e6522c4e0f93c094ca2408367 by peter
Sema: Create a no-op implicit cast for lvalue function conversions.
This fixes an assertion failure in the case where an implicit conversion
for a function call involves an lvalue function conversion, and makes
the AST for initializations involving implicit lvalue function
conversions more accurate.
Differential Revision: https://reviews.llvm.org/D66437
llvm-svn: 375313
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was addedclang/test/CodeGenCXX/implicit-function-conversion.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit f6a46304174e7a31f5f18d18a5a3a24eaddf35f0 by Vedant Kumar
[profile] Disable instrprof-get-filename-merge-mode.c on Windows
The Windows bots are failing with:
clang: warning: argument unused during compilation: '-dynamiclib'
[-Wunused-command-line-argument] llvm-svn: 375315
The file was addedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
Commit 90c64a3456b972432a21ef043b205c18a91e011b by rnk
Move endian constant from Host.h to SwapByteOrder.h, prune include
Works on this dependency chain:
ArrayRef.h ->
Hashing.h -> --CUT--
Host.h ->
StringMap.h / StringRef.h
ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.
llvm-svn: 375316
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedlld/include/lld/Common/LLVM.h
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/AArch64.cpp
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedllvm/include/llvm/Support/Host.h
Commit b081220cfd46965fa25dbf826cd3f42f4f9e54cd by Vedant Kumar
[profile] Use -fPIC -shared in a test instead of -dynamiclib
This is more portable than -dynamiclib. Also, fix the path to an input
file that broke when the test was moved in r375315.
llvm-svn: 375317
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
Commit 8b0d14a8f0cc085afa2a9c86c237da81c74517fc by rtrieu
New tautological warning for bitwise-or with non-zero constant always
true.
Taking a value and the bitwise-or it with a non-zero constant will
always result in a non-zero value. In a boolean context, this is always
true.
if (x | 0x4) {}  // always true, intended '&'
This patch creates a new warning group -Wtautological-bitwise-compare
for this warning. It also moves in the existing tautological bitwise
comparisons into this group. A few other changes were needed to the
CFGBuilder so that all bool contexts would be checked. The warnings in
-Wtautological-bitwise-compare will be off by default due to using the
CFG.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=42666 Differential
Revision: https://reviews.llvm.org/D66046
llvm-svn: 375318
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was addedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Analysis/CFG.h
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 0ad6c191deef592818d2381b16e1093a0006e7b5 by rnk
Prune Analysis includes from SelectionDAG.h
Only forward declarations are needed here. Follow-on to r375311.
llvm-svn: 375319
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
Commit 904cd3e06b980baa90c6cd6614321b904a05e162 by rnk
Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each
Now X86ISelLowering doesn't depend on many IR analyses.
llvm-svn: 375320
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/CodeGen/SwiftErrorValueTracking.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430BranchSelector.cpp
The file was modifiedllvm/include/llvm/CodeGen/FunctionLoweringInfo.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/lib/CodeGen/ExecutionDomainFix.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/BPF/BPFMIChecking.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
Commit 1aae510893e654361c17dc6d0cb27ac4de6202c8 by Matthew.Arsenault
AMDGPU: Remove optnone from a test
It's not clear why the test had this. I'm unable to break the original
case with the original patch reverted with or without optnone.
This avoids a failure in a future commit.
llvm-svn: 375321
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll
Commit 14a3f77ba1034d551e5f8a5bc4cd3ae131738773 by bigcheesegs
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which
includes search paths and diagnostics.
Differential Revision: https://reviews.llvm.org/D68528
llvm-svn: 375322
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was addedclang/test/Modules/context-hash.c
The file was modifiedclang/docs/Modules.rst
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
Commit 7bbe711fb1b9057e48dec3c15b084eee7f8ff5fb by rnk
Avoid including CodeView/SymbolRecord.h from MCStreamer.h
Move the types needed out so they can be forward declared instead.
llvm-svn: 375325
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
Commit 637af4cc37802a25564aa96c4d4eb3facbcff9b8 by rtrieu
Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with
"?:"
Extend -Wparentheses to cover mixing bitwise-and and bitwise-or with the
conditional operator. There's two main cases seen with this:
unsigned bits1 = 0xf0 | cond ? 0x4 : 0x1; unsigned bits2 = cond1 ? 0xf0
: 0x10 | cond2 ? 0x5 : 0x2;
// Intended order of evaluation: unsigned bits1 = 0xf0 | (cond ? 0x4 :
0x1); unsigned bits2 = (cond1 ? 0xf0 : 0x10) | (cond2 ? 0x5 : 0x2);
// Actual order of evaluation: unsigned bits1 = (0xf0 | cond) ? 0x4 :
0x1; unsigned bits2 = cond1 ? 0xf0 : ((0x10 | cond2) ? 0x5 : 0x2);
Differential Revision: https://reviews.llvm.org/D66043
llvm-svn: 375326
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/Sema/parentheses.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
Commit d7cf99ae03704dad87cffe49a83af13f5b949c82 by bigcheesegs
[Docs] Fix header level.
llvm-svn: 375327
The file was modifiedclang/docs/Modules.rst
Commit ab2cec8b85cf84f0c734115205cc8b07b56bd3ae by Artem Dergachev
[analyzer] Fix a crash on tracking Objective-C 'self' as a control
dependency.
'self' was previously never tracked, but now it can be tracked because
it may be part of a condition.
llvm-svn: 375328
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was addedclang/test/Analysis/track-control-dependency-conditions.m
Commit 4a5df7312ec2c14360e4e12596a1ef63be39a480 by Artem Dergachev
[analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor.
Patch by Kristóf Umann!
Differential Revision: https://reviews.llvm.org/D68591
llvm-svn: 375329
The file was modifiedclang/test/Analysis/novoidtypecrash.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit 2386537c2469a97501a305c6b3138231b907a67f by lawrence_danna
[LLDB] bugfix: command script add -f doesn't work for some callables
Summary: When users define a debugger command from python, they provide
a callable object.   Because the signature of the function has been
extended, LLDB needs to inspect the number of parameters the callable
can take.
The rule it was using to decide was weird, apparently not tested, and
giving wrong results for some kinds of python callables.
This patch replaces the weird rule with a simple one: if the callable
can take 5 arguments, it gets the 5 argument version of the signature.
Otherwise it gets the old 4 argument version.
It also adds tests with a bunch of different kinds of python callables
with both 4 and 5 arguments.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69014
llvm-svn: 375333
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/py_import
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/command/script/callables.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
Commit bdcad0aca0a05145364ee153a8f54af4aea2c445 by lawrence_danna
convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args
Summary: This patch converts another user of ArgInfo::count over to use
ArgInfo::max_positional_args instead.   I also add a test to make sure
both documented signatures for python type formatters work.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69153
llvm-svn: 375334
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/formatters.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
Commit 963e0d6755cd7b79c96a6b167460e1c9ed3f8353 by sylvestre
Make it clear in the doc that 'all' in LLVM_ENABLE_PROJECTS does install
ALL projects
llvm-svn: 375337
The file was modifiedllvm/docs/CMake.rst
Commit 81a01e73faabb574bc0a8606de560c5c671e8801 by bigcheesegs
Revert "[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash
which includes search paths and diagnostics." and "[Docs] Fix header
level."
The test doesn't work on Windows. I'll fix it and recommit later.
llvm-svn: 375338
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/test/Modules/context-hash.c
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/docs/Modules.rst
Commit 751e0bb6af33786339761173e61d6e37b752836e by sylvestre
Explicit in the doc the current list of projects (with easy copy and
paste)
llvm-svn: 375339
The file was modifiedllvm/docs/CMake.rst
Commit d5367db95c4295b088bf9ae3cf99e24d8bf7e249 by dimitry
Refine check for `_LIBCPP_C_HAS_NO_GETS` on FreeBSD
Summary: In D67316 we added `_LIBCPP_C_HAS_NO_GETS` to signal that the C
library does not provide `gets()`, and added a test for FreeBSD 13 or
higher, using the compiler-defined `__FreeBSD__` macro.
Unfortunately this did not work that well for FreeBSD's own CI process,
since the gcc compilers used for some architectures define `__FreeBSD__`
to match the build host, not the target.
Instead, we should use the `__FreeBSD_version` macro from the userland
header `<osreldate.h>`, which is more fine-grained.  See also
<https://reviews.freebsd.org/D22034>.
Reviewers: EricWF, mclow.lists, emaste, ldionne
Reviewed By: emaste, ldionne
Subscribers: dexonsmith, bsdjhb, krytarowski, christof, ldionne,
libcxx-commits
Differential Revision: https://reviews.llvm.org/D69174
llvm-svn: 375340
The file was modifiedlibcxx/include/__config
Commit 6ada70d1b55b9efb8b0603575a0b86e14f049553 by llvm-dev
[X86][SSE] LowerUINT_TO_FP_i64 - only use HADDPD for size/fast-hops
We were always generating a single source HADDPD, but really we should
only do this if shouldUseHorizontalOp says its a good idea.
Differential Revision: https://reviews.llvm.org/D69175
llvm-svn: 375341
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/haddsub-broadcast.ll
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll
The file was modifiedllvm/test/CodeGen/X86/scalar-int-to-fp.ll
The file was modifiedllvm/test/CodeGen/X86/haddsub-3.ll

Summary

  1. Apply defaut cmake flags to ABITestsuitBuilder. (details)
  2. [sanitizers] Increase default "git clone --depth" to 100 (details)
  3. Added zorg to the list of SVN projects. (details)
  4. Added the step name param to (details)
  5. Handle is_legacy_mode in LLDPerformanceTestsuite. (details)
Commit 35e1ae011e77fb04540dec7610cb792ced2fa864 by gkistanova
Apply defaut cmake flags to ABITestsuitBuilder.
llvm-svn: 375268
The file was modifiedzorg/buildbot/builders/ABITestsuitBuilder.py
Commit 7cfb079f8421ec544e40aadc797dde6831cdf173 by Vitaly Buka
[sanitizers] Increase default "git clone --depth" to 100
llvm-svn: 375291
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh
Commit 1fd74eb838a9b3aa954abf56f30aa4a091b1a027 by gkistanova
Added zorg to the list of SVN projects.
llvm-svn: 375330
The file was modifiedzorg/buildbot/process/factory.py
Commit 41ad87d6dcf806d5cab39f498bb0f337d4df9d51 by gkistanova
Added the step name param to
LLVMBuildFactory.addGetSourcecodeForProject.
llvm-svn: 375331
The file was modifiedzorg/buildbot/process/factory.py
Commit 3f72b1e5fe9ea9299d2c37e3f1a197b55e26a359 by gkistanova
Handle is_legacy_mode in LLDPerformanceTestsuite.
llvm-svn: 375336
The file was modifiedzorg/buildbot/builders/LLDPerformanceTestsuite.py