SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [ARM][MVE] Renamed VPT Block tests and files to something more (details)
  2. [HIP] Add option --gpu-max-threads-per-block=n (details)
  3. [AIX][XCOFF]Implement mergeable const (details)
  4. [LifetimeAnalysis] Do not forbid void deref type in (details)
  5. [analyzer] Update help text to reflect sarif support (details)
  6. [X86] Pull out repeated SrcVT.getVectorNumElements() call. NFCI. (details)
  7. [ARM] Regenerate bfi.ll test cases (details)
  8. [lldb] Initialize some bitfields in FuncUnwinders.cpp (details)
  9. [clangd] Assert that the testcases in LocateSymbol.All have no (details)
  10. [clangd] Heuristically resolve dependent call through smart pointer type (details)
  11. [OPENMP]Allow using of members in standalone declaration pragmas. (details)
  12. Fix issues reported by -Wrange-loop-analysis when building with latest (details)
  13. [gicombiner] Add GIMatchTree and use it for the code generation (details)
  14. [gn build] Port 1d94fb21118 (details)
  15. [X86] Improve lowering of v2i64 sign bit tests on pre-sse4.2 targets (details)
  16. [X86] Improve lowering of (v2i64 (setgt X, -1)) on pre-SSE2 targets. (details)
  17. [MachineOutliner][AArch64] Save + restore LR in noreturn functions (details)
  18. [OPENMP]Reduce calls for the mangled names. (details)
  19. [test] Move ppc64 tests from test/Preprocessor/init.c to init-ppc64.c (details)
  20. [PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl (details)
  21. [cmake] Use relative cmake binary dir for processing pass plugins. (details)
  22. [lldb/Lua] Add string conversion operator for SBTarget. (details)
  23. AMDGPU: Fix not using v_cvt_f16_[iu]16 (details)
  24. AMDGPU: Use ImmLeaf (details)
  25. AMDGPU: Fix misleading, misplaced end block comments (details)
  26. AMDGPU: Remove VOP3Mods0Clamp0OMod (details)
  27. AMDGPU: Add baseline test for missing pattern (details)
  28. [cmake] Use source-groups in Polly. (details)
  29. Revert "[lldb/Lua] Add string conversion operator for SBTarget." (details)
  30. [x86] add tests for extract-of-concat; NFC (details)
  31. Remove extraneous semicolon. (details)
  32. [gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format (details)
  33. [lldb/Test] Make TestConvenienceVariables more strict (details)
  34. [lldb/Test] Remove old binary created by TestConvenienceVariables (details)
  35. [X86] Enable v2i64->v2f32 uint_to_fp code in ReplaceNodeResults on (details)
  36. [libc++] Add additional benchmark functions to (details)
  37. [clang-tidy] modernize-use-using uses AST and now supports struct (details)
  38. AMDGPU: Apply i16 add->sub pattern with zext to i32 (details)
  39. AMDGPU/GlobalISel: Fix missing test for s16 icmp (details)
  40. AMDGPU/GlobalISel: Add some missing G_SELECT testcases (details)
  41. AMDGPU/GlobalISel: Fix scalar G_SELECT for arbitrary pointers (details)
  42. Allow output constraints on "asm goto" (details)
  43. Re-land "[lldb/Lua] Add string conversion operator for SBTarget." (details)
  44. Revert "Allow output constraints on "asm goto"" (details)
  45. [X86] Add SSE4.1 command lines to vec-strict-inttofp-128.ll to cover the (details)
  46. [AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant (details)
  47. [PowerPC] Default ppc64 linux-gnu/freebsd to -fno-PIC (details)
  48. Fix warnings as errors that occur on sanitizer-x86_64-linux (details)
  49. [GVN/FP] Considate logic for reasoning about equality vs equivalance for (details)
  50. Rewrite comment about what watchpoints Aarch64 supports. (details)
  51. Revert "Re-land "[lldb/Lua] Add string conversion operator for (details)
  52. XFAIL load_extension.ll for all targets currently - it's failing on (details)
  53. [libcxx] fix incorrect attribute property (details)
  54. [docs] Improve HowTo commit changes from git (details)
  55. [SCEV] get more accurate range for AddExpr with wrap flag. (details)
  56. [mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp. (details)
  57. [docs] Fix duplicate explicit target name: developer policy (details)
  58. [mlir][spirv] Add lowering for standard bit ops (details)
Commit ee811808a9a0e16a1b48d70cbe5d95525733d347 by sjoerd.meijer
[ARM][MVE] Renamed VPT Block tests and files to something more
informative. NFC
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-2-preds.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-non-consecutive-ins.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block5.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block6.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-block-1-ins.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block4.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-3-blocks-kill-vpr.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-ctrl-flow.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-2-blocks.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block2.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block3.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block7.mir
The file was removedllvm/test/CodeGen/Thumb2/mve-vpt-block8.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-block-2-ins.mir
The file was addedllvm/test/CodeGen/Thumb2/mve-vpt-block-4-ins.mir
Commit 9f2d8b5c0cdb31c5617476575c03826274ecbd25 by Yaxun.Liu
[HIP] Add option --gpu-max-threads-per-block=n
Add this option to change the default launch bounds.
Differential Revision: https://reviews.llvm.org/D71221
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Driver/hip-options.hip
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
Commit a3832f33d9323a5080321ca52321efd9c5741b63 by diggerlin
[AIX][XCOFF]Implement mergeable const
SUMMARY: In this patch, we map mergeable const objects to the read-only
section in the same manner as const objects that are not mergeable.
Reviewers: hubert.reinterpretcast,jasonliu Subscribers: wuzish,
nemanjai, hiraditya
Differential Revision: https://reviews.llvm.org/D71551
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-const.ll
Commit 247a6032549efb03c14b79c035a47c660b75263e by xazax
[LifetimeAnalysis] Do not forbid void deref type in
gsl::Pointer/gsl::Owner annotations
It turns out it is useful to be able to define the deref type as void.
In case we have a type erased owner, we want to express that the pointee
can be basically any type. It should not be unnatural to have a void
deref type as we already familiar with "pointers to void".
Differential Revision: https://reviews.llvm.org/D72097
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
Commit 46ac6a4dcd9b629188b75fafbe04008c24d1fb55 by xazax
[analyzer] Update help text to reflect sarif support
Differential Revision: https://reviews.llvm.org/D72289
The file was modifiedclang/include/clang/Driver/Options.td
Commit 0e912e22b63d413a27596fc4457aec8a0a1af45c by llvm-dev
[X86] Pull out repeated SrcVT.getVectorNumElements() call. NFCI.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 55de6fc0b66b943c16fa36328859c210c13c2321 by llvm-dev
[ARM] Regenerate bfi.ll test cases
The file was modifiedllvm/test/CodeGen/ARM/bfi.ll
Commit 57835d0198418ca6e397f4b0a50dc6057d93c04c by pavel
[lldb] Initialize some bitfields in FuncUnwinders.cpp
This got flagged by msan.
The file was modifiedlldb/source/Symbol/FuncUnwinders.cpp
Commit 751d4dae3284c466481ed20ec0b76e894527d2c6 by zeratul976
[clangd] Assert that the testcases in LocateSymbol.All have no
diagnostics
Summary: Also fix some bugs in the testcases which this exposed.
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72066
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 16f47cf607c7193e888de4c1774c46367a5bedf4 by zeratul976
[clangd] Heuristically resolve dependent call through smart pointer type
Summary: Fixes https://github.com/clangd/clangd/issues/227
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet,
usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71644
The file was modifiedclang-tools-extra/clangd/FindTarget.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit c972f6fd7919b737f4c991d27249b9a947011c8e by a.bataev
[OPENMP]Allow using of members in standalone declaration pragmas.
If standalone OpenMP declaration pragma, like declare mapper or declare
reduction, is declared in the class context, it may reference a member
(data or function) in its internal expressions/statements. So, the
parsing of such pragmas must be dalayed just like the parsing of the
member initializers/definitions before the completion of the class
declaration.
The file was modifiedclang/test/OpenMP/declare_reduction_messages.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/test/OpenMP/declare_mapper_messages.cpp
The file was modifiedclang/test/OpenMP/declare_reduction_codegen.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Parse/ParseCXXInlineMethods.cpp
Commit 75eacbf1a9fbc29432a6e0c5627e6c8e95683956 by alexandre.ganea
Fix issues reported by -Wrange-loop-analysis when building with latest
Clang (trunk). NFC.
Fixes warning: loop variable 'E' of type 'const llvm::StringRef' creates
a copy from type 'const llvm::StringRef' [-Wrange-loop-analysis]
The file was modifiedllvm/lib/Support/Windows/Program.inc
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
The file was modifiedclang-tools-extra/clangd/unittests/ParsedASTTests.cpp
Commit 1d94fb211187519d0e9287db3b93928f9f7676c4 by daniel_l_sanders
[gicombiner] Add GIMatchTree and use it for the code generation
Summary: GIMatchTree's job is to build a decision tree by zipping all
the GIMatchDag's together.
Each DAG is added to the tree builder as a leaf and partitioners are
used to subdivide each node until there are no more partitioners to
apply. At this point, the code generator is responsible for testing any
untested predicates and following any unvisited traversals (there
shouldn't be any of the latter as the getVRegDef partitioner handles
them all).
Note that the leaves don't always fit into partitions cleanly and the
partitions may overlap as a result. This is resolved by cloning the leaf
into every partition it belongs to. One example of this is a rule that
can match one of N opcodes. The leaf for this rule would end up in N
partitions when processed by the opcode partitioner. A similar example
is the getVRegDef partitioner where having rules (add $a, $b), and (add
($a, $b), $c) will result in the former being in the partition for
successfully following the vreg-def and failing to do so as it doesn't
care which happens.
Depends on D69151
Fixed the issues with the windows bots which were caused by
stdout/stderr interleaving.
Reviewers: bogner, volkan
Reviewed By: volkan
Subscribers: lkail, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69152
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/test/TableGen/GICombinerEmitter/match-tree.td
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchTree.h
Commit 2f1e5d934e24c0fa560f43d715b6287cc0d5f0e7 by llvmgnsyncbot
[gn build] Port 1d94fb21118
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Commit b9376690a011765e35d9ca63abe0e7117985f1ed by craig.topper
[X86] Improve lowering of v2i64 sign bit tests on pre-sse4.2 targets
Without sse4.2 a v2i64 setlt needs to expand into a pcmpgtd, pcmpeqd, 3
shuffles, and 2 logic ops. But if we're only interested in the sign bit
of the i64 elements, we can just use one pcmpgtd and shuffle the odd
elements to the even elements.
Differential Revision: https://reviews.llvm.org/D72302
The file was modifiedllvm/test/CodeGen/X86/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec_saddo.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat_vec.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/bitcast-vector-bool.ll
Commit afa8211e979c25100c2ed41d8da1e18b45d0ef2b by craig.topper
[X86] Improve lowering of (v2i64 (setgt X, -1)) on pre-SSE2 targets.
Enable v2i64 in foldVectorXorShiftIntoCmp.
Similar to D72302 but for the canonical form for the opposite case. I've
changed foldVectorXorShiftIntoCmp to form a target independent setcc
node instead of PCMPGT now and enabled its for v2i64 on pre-SSE4.2
targets. The setcc should eventually get lowered to PCMPGT or the new
v2i64 sequence.
Differential Revision: https://reviews.llvm.org/D72318
The file was modifiedllvm/test/CodeGen/X86/vector-pcmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit acd258082477b8a4edf3037127efb5fed4494da3 by Jessica Paquette
[MachineOutliner][AArch64] Save + restore LR in noreturn functions
Conservatively always save + restore LR in noreturn functions.
These functions do not end in a RET, and so they aren't guaranteed to
have an instruction which uses LR in any way. So, as a result, you can
end up in unfortunate situations where you can't backtrace out of these
functions in a debugger.
Remove the old noreturn test, and add a new one which is more
descriptive.
Remove the restriction that we can't outline from noreturn functions as
well since we now do the right thing.
The file was addedllvm/test/CodeGen/AArch64/machine-outliner-noreturn-save-lr.mir
The file was removedllvm/test/CodeGen/AArch64/machine-outliner-noreturn.mir
The file was modifiedllvm/lib/CodeGen/MachineOutliner.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Commit 45588428910a7cbcf58317b874dad18b580c9ce5 by a.bataev
[OPENMP]Reduce calls for the mangled names.
Use canonical decls instead of mangled names in the set of already
emitted decls. This allows to reduce the number of function calls for
getting declarations mangled names and speedup the compilation.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
Commit fb6e80da446b94d42d484910ea28a82b4900f01f by maskray
[test] Move ppc64 tests from test/Preprocessor/init.c to init-ppc64.c
The file was addedclang/test/Preprocessor/init-ppc64.c
The file was modifiedclang/test/Preprocessor/init.c
Commit 8edf759ca7e1ceadb8bd4c0701f08c48850c26e7 by maskray
[PowerPC][Triple] Use elfv2 on freebsd>=13 and linux-musl
Summary: Every powerpc64le platform uses elfv2.
For powerpc64, the environments "elfv1" and "elfv2" were added for
FreeBSD ELFv1->ELFv2 migration in D61950.  FreeBSD developers have
decided to use OS versions to select ABI, and no one is relying on the
environments.
Also use elfv2 on powerpc64-linux-musl.
Users can always use -mabi=elfv1 and -mabi=elfv2 to override the default
ABI.
Reviewed By: adalava
Differential Revision: https://reviews.llvm.org/D72352
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedclang/test/Preprocessor/init-ppc64.c
The file was modifiedclang/test/Driver/ppc-abi.c
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll
The file was modifiedclang/lib/Basic/Targets/PPC.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetMachine.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
Commit b6503901f24efb12f1fa700cbb67935e78f6bd09 by llvm-project
[cmake] Use relative cmake binary dir for processing pass plugins.
https://reviews.llvm.org/D61446 introduced a new function to process
pass plugins that used CMAKE_BINARY_DIR. This is problematic when LLVM
is a subproject. Instead use LLVM_BINARY_DIR to get the right relative
directory for cmake.
Patch by Alan Baker <alanbaker@google.com>
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D72109
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit 640d0ba8760051afc002c672121c6989517fc94e by Jonas Devlieghere
[lldb/Lua] Add string conversion operator for SBTarget.
Extend the SBTarget class with a string conversion operator and reuse
the same code between Python and Lua. This should happen for all the SB
classes, but I'm doing just this one as an example and for use in a test
case.
The file was modifiedlldb/scripts/lldb_lua.swig
The file was modifiedlldb/scripts/Python/python-extensions.swig
The file was addedlldb/scripts/extensions.swig
The file was modifiedlldb/scripts/lldb.swig
Commit 68e70fb098a27d08e6dd039995c2acf14b894abc by arsenm2
AMDGPU: Fix not using v_cvt_f16_[iu]16
We weren't treating i16->f16 casts as legal on targets with these
instructions, and always using a pair of casts through i32.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sitofp.f16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/uitofp.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll
Commit bd8d696c145edba207f7240407ac092b02b68300 by arsenm2
AMDGPU: Use ImmLeaf
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructions.td
Commit de46ab698bd6a174e33e90207342f2ecece05a06 by arsenm2
AMDGPU: Fix misleading, misplaced end block comments
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
Commit c3a10faadc12614b0e664163115858d214b90af6 by arsenm2
AMDGPU: Remove VOP3Mods0Clamp0OMod
Now that overridable default operands work, there's no reason to use
complex patterns to just produce 0s.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AMDGPU/VOPCInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUGISel.td
Commit 449ab1050977e0a5a1757552f13ca1329a7238f5 by arsenm2
AMDGPU: Add baseline test for missing pattern
The optimization to turn an add into a sub isn't triggering when the
pattern to use the zeroed high bits is used.
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
Commit 76ee0de00c407399b0aa7d282c589739b818b3dc by llvm-project
[cmake] Use source-groups in Polly.
Configure CMake to setup source-groups for Polly. Source groups describe
how source files should be organized in IDEs. By default, all headers
are dumped into one folder under PollyCore and all source files into
another. On disk, these files are organized into folders, but this isn't
reflected in the IDE. This change uses CMake source groups to have the
IDE reflect the on disk layout. This will make it easier to visualize
the project structure for users of Visual Studio and XCode
Patch by Christopher Tetreault <ctetreau@quicinc.com>
Reviewed By: Meinersbur, grosser
Differential Revision: https://reviews.llvm.org/D72117
The file was modifiedpolly/lib/CMakeLists.txt
The file was modifiedpolly/cmake/polly_macros.cmake
Commit fe27e8ee80c708b1b79b08eb217f94f3d87d4052 by Jonas Devlieghere
Revert "[lldb/Lua] Add string conversion operator for SBTarget."
This reverts commit 640d0ba8760051afc002c672121c6989517fc94e.
The file was modifiedlldb/scripts/lldb_lua.swig
The file was modifiedlldb/scripts/lldb.swig
The file was removedlldb/scripts/extensions.swig
The file was modifiedlldb/scripts/Python/python-extensions.swig
Commit 6d52edebc99a13ec3f96620ace2068fdc9f3f5c3 by spatel
[x86] add tests for extract-of-concat; NFC
The file was modifiedllvm/test/CodeGen/X86/extract-concat.ll
Commit c5877ec9b4d533c489d088e70b2b119a7db976f1 by isanbard
Remove extraneous semicolon.
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Commit 39c05703a6ca4ada7043799bf8d84b5cdcd3346c by daniel_l_sanders
[gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format
The file was modifiedllvm/test/TableGen/GICombinerEmitter/match-tree.td
Commit 4c935c66c43c6026d6ba565b1c6098e0f02d6962 by Jonas Devlieghere
[lldb/Test] Make TestConvenienceVariables more strict
This test was passing even when the output of lldb.target was empty.
I've made the test more strict by checking explicitly for the target
name and by using CHECK-NEXT lines.
The file was modifiedlldb/test/Shell/Driver/TestConvenienceVariables.test
Commit 512b2c7dc74adb58404bb564bbd81b9cfdaf215c by Jonas Devlieghere
[lldb/Test] Remove old binary created by TestConvenienceVariables
On a dirty build directory the new mkdir fails because the file already
exists and is not a directory.
The file was modifiedlldb/test/Shell/Driver/TestConvenienceVariables.test
Commit 9685cf709ff29843814de1ea602572052d88acec by craig.topper
[X86] Enable v2i64->v2f32 uint_to_fp code in ReplaceNodeResults on
SSE4.1 target
Now that we generate decent code for (v2i64 (setlt zero, X)) on
pre-sse4.2 targets I think we can use this now.
Differential Revision: https://reviews.llvm.org/D72354
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_int_to_fp.ll
Commit 0c5102bd939131b27105b74e73fc25b90207ef36 by eric
[libc++] Add additional benchmark functions to
libcxx/benchmarks/string.bench
This change adds the following benchmarks:
- StringAssignStr Assign a const basic::string& value
- StringAssignAsciiz Assign a const char* asciiz value
StringAssignAsciizMix Assign mixed long/short const char* asciiz values
- StringResizeDefaultInit Resize default init benchmark
Patch by Martijn Vels (mvels@google.com) Reviewed as D72343
The file was modifiedlibcxx/benchmarks/string.bench.cpp
Commit 73d93617d3ae23bad232fa3a160c638728c71c01 by mitchell
[clang-tidy] modernize-use-using uses AST and now supports struct
defintions and multiple types in a typedef
Summary: It now handles `typedef`s that include comma-separated multiple
types, and handles embedded struct definitions, which previously could
not be automatically converted.
For example, with this patch `modernize-use-using` now can convert:
typedef struct { int a; } R_t, *R_p;
to:
using R_t = struct { int a; }; using R_p = R_t*;
`-ast-dump` showed that the `CXXRecordDecl` definitions and multiple
`TypedefDecl`s come consecutively in the tree, so `check()` stores
information between calls to determine when it is receiving a second or
additional `TypedefDecl` within a single `typedef`, or when the current
`TypedefDecl` refers to an embedded `CXXRecordDecl` like a `struct`.
Reviewers: alexfh, aaron.ballman
Patch by: poelmanc
Subscribers: riccibruno, sammccall, cfe-commits, aaron.ballman
Tags: clang-tools-extra, clang
Differential Revision: https://reviews.llvm.org/D70270
The file was modifiedclang/include/clang/Basic/SourceLocation.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/modernize-use-using.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseUsingCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst
Commit 4844bf0fe2c83859cde322a2f952ac8337bdff05 by arsenm2
AMDGPU: Apply i16 add->sub pattern with zext to i32
This was only applying the deeper nested zext pattern, and missing the
special case code size fold.
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
Commit 577b0b5f540866fa7b23cb3e284d5ccd9a2a88f5 by arsenm2
AMDGPU/GlobalISel: Fix missing test for s16 icmp
The file was addedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-icmp.s16.mir
Commit a2d54fc534f7bd3863ca6badb21b3d02a19d6034 by arsenm2
AMDGPU/GlobalISel: Add some missing G_SELECT testcases
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
Commit 6652cc0cf7c0373b8af12f9e5b1a7065577a78da by arsenm2
AMDGPU/GlobalISel: Fix scalar G_SELECT for arbitrary pointers
4e85ca9562a588eba491e44bcbf73cb2f419780f missed updating the legal
condition type set for pointers with any unrecognized address space.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-select.mir
Commit 52366088a8e42c2f1e96e8430b84b8b65ec3f7bc by isanbard
Allow output constraints on "asm goto"
Summary: Remove the restrictions that preventing "asm goto" from
returning non-void values. The values returned by "asm goto" are only
valid on the "fallthrough" path.
Reviewers: jyknight, nickdesaulniers, hfinkel
Reviewed By: jyknight, nickdesaulniers
Subscribers: rsmith, hiraditya, llvm-commits, cfe-commits, craig.topper,
rnk
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D69876
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/CodeGen/X86/callbr-asm-outputs.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/CodeGen/X86/callbr-asm.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
Commit 06d122bc4236bf0d049eab72d883c98cfc2a9901 by Jonas Devlieghere
Re-land "[lldb/Lua] Add string conversion operator for SBTarget."
Extend the SBTarget class with a string conversion operator and reuse
the same code between Python and Lua. This should happen for all the SB
classes, but I'm doing just this one as an example and for use in a test
case.
The file was modifiedlldb/scripts/lldb.swig
The file was addedlldb/scripts/extensions.swig
The file was modifiedlldb/scripts/lldb_lua.swig
The file was modifiedlldb/scripts/Python/python-extensions.swig
Commit e886e762dd7972064b948119f9af2f6be312b995 by isanbard
Revert "Allow output constraints on "asm goto""
This reverts commit 52366088a8e42c2f1e96e8430b84b8b65ec3f7bc.
I accidentally pushed this before supporting changes.
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/test/CodeGen/X86/callbr-asm.ll
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/test/CodeGen/X86/callbr-asm-outputs.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineBasicBlock.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
Commit eee89cd5a89e9c1cc33d98a1a2d21e042c54b066 by craig.topper
[X86] Add SSE4.1 command lines to vec-strict-inttofp-128.ll to cover the
v2i64->v2f32 strict_uitofp codegen. NFC
The file was modifiedllvm/test/CodeGen/X86/vec-strict-inttofp-128.ll
Commit b6598bcf4b81ed8fb66a7c576a81e422750b9329 by Amara Emerson
[AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant
offsets.
E.g.
%addr1 = G_PTR_ADD %base, G_CONSTANT 20
%addr2 = G_PTR_ADD %addr1, G_CONSTANT 8
-->
%addr2 = G_PTR_ADD %base, G_CONSTANT 28
Differential Revision: https://reviews.llvm.org/D72351
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-ptradd-chain.mir
Commit 907a0cadb2c807d86d3150f2397e6697ba4676df by maskray
[PowerPC] Default ppc64 linux-gnu/freebsd to -fno-PIC
According to D53384, the default was switched from -fno-PIC to -fPIC to
work around a -fsanitize=leak bug on big-endian.
This gratuitous difference between little-endian and big-endian is
undesired, and not acceptable on powerpc64-unknown-freebsd.  If
-fsanitize=leak still has the problem, we should consider defaulting to
-fPIC/-fPIE only when -fsanitize=leak is specified (see
SanitizerArgs::requiresPIE())
powerpc64-ibm-aix is unaffected: it still defaults to -fPIC.
powerpc64-linux-musl is unaffected (-fPIE since D39588): it still
defaults to -fPIE.
Reviewed By: #powerpc, jhibbits
Differential Revision: https://reviews.llvm.org/D72363
The file was modifiedclang/test/Driver/ppc-abi.c
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
Commit 13922f3e9d0c8a0f2612c5e43c922099bbf74a79 by daniel_l_sanders
Fix warnings as errors that occur on sanitizer-x86_64-linux
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Commit 312a532dc0456b8901de43fd3f1c6ec9d551a80d by listmail
[GVN/FP] Considate logic for reasoning about equality vs equivalance for
floats
Factor out common logic into some reasonable commented helper functions.
In the process, ensure that the in-block vs cross-block cases are
handled the same. They previously weren't.
Differential Revision: https://reviews.llvm.org/D67126
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/test/Transforms/GVN/edge.ll
Commit 5e2f4dc37b1bf72bd27e929a68fec18ae1f5cfa8 by Jason Molenda
Rewrite comment about what watchpoints Aarch64 supports.
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
Commit 6563826ff0f83cc8ef6c84154841245834a5b37e by Jonas Devlieghere
Revert "Re-land "[lldb/Lua] Add string conversion operator for
SBTarget.""
This was returning a pointer to a stack-allocated memory location. This
works for Python where we return a PythonString which must own the
underlying string.
The file was removedlldb/scripts/extensions.swig
The file was modifiedlldb/scripts/lldb.swig
The file was modifiedlldb/scripts/lldb_lua.swig
The file was modifiedlldb/scripts/Python/python-extensions.swig
Commit c23c8746d0cb3ea2c7265033fccba379ef87df70 by echristo
XFAIL load_extension.ll for all targets currently - it's failing on
additional platforms than just darwin.
The file was modifiedllvm/test/Feature/load_extension.ll
Commit 9de6a3987251d05eb734e34597dcde2f12aac9ba by tclin914
[libcxx] fix incorrect attribute property
Summary:
`__has_attribute(fallthough)` -> `__has_attribute(fallthrough)` This is
a follow-up of https://reviews.llvm.org/D72287
Reviewers: EricWF, mclow.lists, Jim
Reviewed By: Jim
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D72314
The file was modifiedlibcxx/include/__config
Commit f90a2c2d2cdb679cb38400408ac5e26bea65fd14 by tclin914
[docs] Improve HowTo commit changes from git
Summary: As a novice here I tried to `git push` my changes for a while
before figuring out the correct workflow which is described on other
pages. This small change doesn't reduce redundancy between those pages,
but at least readers can follow the links now.
Reviewers: Kokan, Jim
Reviewed By: Kokan, Jim
Subscribers: riccibruno, kiszk, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72077
The file was modifiedllvm/docs/GettingStarted.rst
Commit 8b8ba44047d44b846fcd197a7a553468f154649b by czhengsz
[SCEV] get more accurate range for AddExpr with wrap flag.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D64869
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/test/Transforms/IRCE/ranges_of_different_types.ll
Commit 7e7f849a6d94f77f1a29630419acb7226051f4b6 by antiagainst
[mlir][spirv] Add lowering for std.fpext, std.fptrunc, std.sitofp.
Differential Revision: https://reviews.llvm.org/D72137
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.td
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
Commit f7ca0c761979f0a06894571245a913cd8e2dbfce by tclin914
[docs] Fix duplicate explicit target name: developer policy
The file was modifiedllvm/docs/GettingStarted.rst
Commit 9883b14cd1a4ea2dec8d7ed30df632671f56c69b by antiagainst
[mlir][spirv] Add lowering for standard bit ops
Differential Revision: https://reviews.llvm.org/D72205
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/bit-ops.mlir
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.td