FailedChanges

Summary

  1. [lldb] Remove modern-type-lookup (details)
  2. [RISCV][NFC] Trivial cleanup (details)
  3. [libcxx] Fix include paths in fuzzing/partial_sort.pass.cpp (details)
  4. [DebugInfo] Only print a single blank line after an empty line table (details)
  5. [libomptarget][nfc] Move omp locks under target_impl (details)
  6. PostRA Machine Sink should take care of COPY defining register that is a (details)
  7. [lldb][NFC] Allow creating ClangExpressionDeclMap and ClangASTSource (details)
  8. [ASTImporter] Friend class decl should not be visible in its context (details)
  9. [lldb][NFC] Rename ClangASTImporter::InsertRecordDecl to SetRecordLayout (details)
  10. Reland [NFC-I] Remove hack for fp-classification builtins (details)
  11. This adds constrained intrinsics for the signed and unsigned conversions (details)
  12. [lldb][NFC] Use StringRef in CreateRecordType and CreateObjCClass (details)
  13. [gicombiner] Add the MatchDag structure and parse instruction DAG's from (details)
  14. gn build: Merge 390c8baa544 (details)
  15. [clangd][NFC] Make use of TagDecl inside type for hover on auto (details)
  16. [clangd] Fix handling of inline/anon namespaces and names of deduced (details)
  17. Revert "Honor  -fuse-init-array when os is not specified on x86" (details)
  18. [AArch64] add tests for fcvtl2; NFC (details)
  19. [lit] Fix internal diff newlines for -w/-b (details)
  20. [AMDGPU] Update autogenerated checks (details)
  21. [ MC ] Match labels to existing fragments even when switching sections. (details)
  22. [InstCombine][AMDGPU] Trim more components of *buffer_load (details)
  23. [gicombiner] Process the MatchDag such that every node is reachable from (details)
  24. [SystemZ][FPEnv] Back-end support for STRICT_[SU]INT_TO_FP (details)
  25. [DAGCombiner] Add node back in the worklist in topological order in (details)
  26. [FPEnv] IRBuilder support for constrained sitofp/uitofp. (details)
  27. [RISCV] Add subtargets initialized with target feature (details)
  28. [libomptarget][nfc] Move three files under common, build them for amdgcn (details)
  29. [driver][darwin] Pass -platform_version flag to the linker instead of (details)
  30. Revert "[ASTImporter] Friend class decl should not be visible in its (details)
  31. [SDAG] remove use restriction in isNegatibleForFree() when called from (details)
  32. Revert "[SDAG] remove use restriction in isNegatibleForFree() when (details)
  33. [SDAG] adjust isNegatibleForFree calculation to avoid crashing (details)
  34. [AMDGPU] Fix typo in SIInstrInfo::memOpsHaveSameBasePtr (details)
  35. [objc_direct] fix uniquing when re-declaring a readwrite-direct property (details)
  36. llvm-diff: Perform structural comparison on GlobalVariables, if possible (details)
  37. [Clang FE, SystemZ]  Recognize -mpacked-stack CL option (details)
  38. [WebAssembly] Convert MC tests to from bitcode to asm (details)
  39. [Attributor][NFC] Add test for sle comparison in h2s. (details)
  40. [Attributor] H2S fix. (details)
  41. [LIBOPENMP][NVPTX]Fix the build error in the runtime. (details)
  42. [OPENMP50]Add parsing/sema analysis for nontemporal clause. (details)
  43. [FPEnv] Remove unnecessary rounding mode argument for constrained (details)
  44. [perf-training] Change profile file pattern string to use %4m instead of (details)
  45. Recommit "[DebugInfo] Refactored macro related generation, added a test (details)
  46. [Frontend] Fixes -Wrange-loop-analysis warnings (details)
  47. [Sema] Fixes -Wrange-loop-analysis warnings (details)
  48. [Driver] Avoid copies in range-based for loops (details)
  49. [IR] Use a reference in a range-based for (details)
  50. Fix buildbot failures after removing REQUIRES-ANY (details)
  51. AMDGPU/SILoadStoreOptimillzer: Refactor CombineInfo struct (details)
  52. [AIX] Avoid unset csect assert for functions defined after their use in (details)
  53. [LoopFusion] Move instructions from FC0.Latch to FC1.Latch. (details)
  54. [driver][darwin] Use explicit -mlinker-version in the -platform_version (details)
  55. [FPEnv][LegalizeTypes][LegalizeDAG][AArch64] Few fixes/improvements for (details)
  56. [analysis] Discard type qualifiers when casting values retrieved from (details)
  57. Revert "[ MC ] Match labels to existing fragments even when switching (details)
  58. [WebAssembly] Implement SIMD {i8x16,i16x8}.avgr_u instructions (details)
  59. [AMDGPU] Fixed cost model for packed 16 bit ops (details)
  60. [FPEnv][LegalizeTypes] Make ScalarizeVecOp_STRICT_FP_ROUND do its own (details)
Commit ff0102b32cfe506dfc16a86e38e70b0940697aa2 by Raphael Isemann
[lldb] Remove modern-type-lookup
Summary: As discussed on the mailing list [1] we have to make a decision
for how to proceed with the modern-type-lookup.
This patch removes modern-type-lookup from LLDB. This just removes all
the code behind the modern-type-lookup setting but it does *not* remove
any code from Clang (i.e., the ExternalASTMerger and the
clang-import-test stay around for now).
The motivation for this is that I don't think that the current approach
of implementing modern-type-lookup will work out. Especially creating a
completely new lookup system behind some setting that is never turned on
by anyone and then one day make one big switch to the new system seems
wrong. It doesn't fit into the way LLVM is developed and has so far made
the transition work much more complicated than it has to be.
A lot of the benefits that were supposed to come with the
modern-type-lookup are related to having a better organization in the
way types move across LLDB and having less dependencies on unrelated
LLDB code. By just looking at the current code (mostly the
ClangASTImporter) I think we can reach the same goals by just
incrementally cleaning up, documenting, refactoring and actually testing
the existing code we have.
[1] http://lists.llvm.org/pipermail/lldb-dev/2019-December/015831.html
Reviewers: shafik, martong
Subscribers: rnkovacs, christof, arphaman, JDevlieghere, usaxena95,
lldb-commits, friss
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71562
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic-objc/Makefile
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/TestLibCxxModernTypeLookup.py
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic/main.cpp
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic-objc/main.m
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic-objc/TestBasicObjcModernTypeLookup.py
The file was modifiedlldb/source/Target/TargetProperties.td
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/main.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/objc-modules/Makefile
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/objc-modules/TestObjModulesModernTypeLookup.py
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/include/lldb/Target/Target.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/libcxx/Makefile
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/basic/TestBasicModernTypeLookup.py
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/modern-type-lookup/objc-modules/main.m
Commit e332a09619359471969abfac7ff08b36d29dbf31 by luismarques
[RISCV][NFC] Trivial cleanup
Fix a typo. Remove two seemingly out-of-date TODO comments.
The file was modifiedllvm/test/MC/RISCV/fixups.s
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
Commit 67ce7f51a50f5fb4633fcdc0e80038d1f63a40f3 by mikhail.maltsev
[libcxx] Fix include paths in fuzzing/partial_sort.pass.cpp
Summary: When testing an installed (out-of-tree) version of libc++, the
"libcxx/fuzzing/partial_sort.pass.cpp" test fails because of missing
include files "../fuzzing/fuzzing.{h,cpp}". This happens because in the
source tree "../fuzzing" can be accessed as
"libcxx/include/../fuzzing", but with the installed library this does
not work.
This patch fixes the issue by changing the path to be relative from the
`libcxx/test/fuzzing" directory.
Reviewers: mclow.lists, EricWF, christof, michaelplatings
Reviewed By: michaelplatings
Subscribers: merge_guards_bot, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D71459
The file was modifiedlibcxx/test/libcxx/fuzzing/partial_sort.pass.cpp
Commit 5666b70fd0748765ecaa69950a4868cf23a16cc9 by jh7370
[DebugInfo] Only print a single blank line after an empty line table
Commit 84a9756 added an extra blank line at the end of any line table.
However, a blank line is also printed after the line table header, which
meant that two blank lines in a row were being printed after a header,
if there were no rows. This patch defers the post-header blank line
printing until it has been determined that there are rows to print.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D71540
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug-line.s
Commit 3d3e4076cd65007007ca639d4f99c0fa671c9f8e by jonathanchesterfield
[libomptarget][nfc] Move omp locks under target_impl
Summary:
[libomptarget][nfc] Move omp locks under target_impl
These are likely to be target specific, even down to the lock_t which is
correspondingly moved out of interface.h. The alternative is to include
interface.h in target_impl which substantiatially increases the scope of
those symbols.
The current nvptx implementation deadlocks on amdgcn. The preferred
implementation for that arch is still under discussion - this change
leaves declarations in target_impl.
The functions could be inline for nvptx. I'd prefer to keep the
internals hidden in the target_impl translation unit, but will add the
(possibly renamed) macros to target_impl.h if preferred.
Reviewers: ABataev, jdoerfert, grokos
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, jfb, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71574
The file was modifiedopenmp/libomptarget/deviceRTLs/interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/nvptx_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_interface.h
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/libcall.cu
The file was addedopenmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu
Commit e7f585ed6109b1f20131b91af87e3c2ae1e59616 by alex-t
PostRA Machine Sink should take care of COPY defining register that is a
sub-register by another COPY source operand
Differential Revision: https://reviews.llvm.org/D71132
The file was addedllvm/test/CodeGen/AMDGPU/postra-machine-sink.mir
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
The file was modifiedllvm/test/CodeGen/AArch64/bisect-post-ra-machine-sink.mir
The file was modifiedllvm/test/CodeGen/AArch64/post-ra-machine-sink.mir
Commit 4aee81c4f73359230e358108bc428e3b0cc59566 by Raphael Isemann
[lldb][NFC] Allow creating ClangExpressionDeclMap and ClangASTSource
without a Target and add basic unit test
The ClangExpressionDeclMap should be testable from a unit test. This is
currently impossible as they have both dependencies on
Target/ExecutionContext from their constructor. This patch allows
constructing these classes without an active Target and adds the missing
tests for running without a target that we can do at least a basic
lookup test without crashing.
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
The file was modifiedlldb/unittests/Expression/CMakeLists.txt
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
The file was addedlldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 4becf68c6f17fe143539ceac954b21175914e1c1 by gabor.marton
[ASTImporter] Friend class decl should not be visible in its context
Summary: In the past we had to use DeclContext::makeDeclVisibleInContext
to make friend declarations available for subsequent lookup calls and
this way we could chain (redecl) the structurally equivalent decls. By
doing this we created an AST that improperly made declarations visible
in some contexts, so the AST was malformed. Since we use the importer
specific lookup this is no longer necessary, because with that we can
find every previous nodes.
Reviewers: balazske, a_sidorin, a.sidorin, shafik
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, teemperor,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71020
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit b852b3c982d2e8ad3f13c626b3e3655e5b3c399e by Raphael Isemann
[lldb][NFC] Rename ClangASTImporter::InsertRecordDecl to SetRecordLayout
and document it
This function is just setting the layout for the given RecordDecl so the
current name is not very descriptive. Also add some documentation for
it.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/source/Symbol/ClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTImporter.h
The file was modifiedlldb/unittests/Symbol/TestClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp
Commit 1ed832e42446ef8c4afe08f980db2e54ac316bf3 by erich.keane
Reland [NFC-I] Remove hack for fp-classification builtins
The FP-classification builtins (__builtin_isfinite, etc) use variadic
packs in the definition file to mean an overload set.  Because of that,
floats were converted to doubles, which is incorrect. There WAS a patch
to remove the cast after the fact.
THis patch switches these builtins to just be custom type checking,
calls the implicit conversions for the integer members, and makes sure
the correct L->R casts are put into place, then does type checking like
normal.
A future direction (that wouldn't be NFC) would consider making
conversions for the floating point parameter legal.
Note: The initial patch for this missed that certain systems need to
still convert half to float, since they dont' support that type.
The file was modifiedclang/test/Sema/crash-invalid-builtin.c
The file was modifiedclang/test/CodeGen/builtin_float.c
The file was addedclang/test/Sema/builtin-fpclassification.c
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/Sema/SemaChecking.cpp
Commit b1d8576b0a9fa1f6a1173c0b5c2f379389e01e3f by kevin.neal
This adds constrained intrinsics for the signed and unsigned conversions
of integers to floating point.
This includes some of Craig Topper's changes for promotion support from
D71130.
Differential Revision: https://reviews.llvm.org/D69275
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/fp-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/include/llvm/IR/ConstrainedOps.def
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
The file was modifiedllvm/test/Feature/fp-intrinsics.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 268f37df6e45c4b0603bd4d964483a0d84da44c1 by Raphael Isemann
[lldb][NFC] Use StringRef in CreateRecordType and CreateObjCClass
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/unittests/Symbol/TestClangASTImporter.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
Commit 390c8baa5440dda8907688d9ef860f6982bd925f by daniel_l_sanders
[gicombiner] Add the MatchDag structure and parse instruction DAG's from
the input
Summary: The MatchDag structure is a representation of the checks that
need to be performed and the dependencies that limit when they can
happen.
There are two kinds of node in the MatchDag:
* Instrs - Represent a MachineInstr
* Predicates - Represent a check that needs to be performed (i.e.
opcode, is register, same machine operand, etc.) and two kinds of edges:
* (Traversal) Edges - Represent a register that can be traversed to find
one instr from another
* Predicate Dependency Edges - Indicate that a predicate requires a
piece of information to be tested.
For example, the matcher:
(match (MOV $t, $s),
       (MOV $d, $t)) with MOV declared as an instruction of the form:
%dst = MOV %src1 becomes the following MatchDag with the following
instruction nodes:
__anon0_0 // $t=getOperand(0), $s=getOperand(1)
__anon0_1 // $d=getOperand(0), $t=getOperand(1) traversal edges:
__anon0_1[src1] --[t]--> __anon0_0[dst] predicate nodes:
<<$mi.getOpcode() == MOV>>:$__anonpred0_2
<<$mi.getOpcode() == MOV>>:$__anonpred0_3 and predicate dependencies:
__anon0_0 ==> __anonpred0_2[mi]
__anon0_0 ==> __anonpred0_3[mi]
The result of this parse is currently unused but can be tested using
-gicombiner-stop-after-parse as done in parse-match-pattern.td. The dump
for testing includes a graphviz format dump to allow the rule to be
viewed visually.
Later on, these MatchDag's will be used to generate code and to build an
efficient decision tree.
Reviewers: volkan, bogner
Reviewed By: volkan
Subscribers: arsenm, mgorny, mgrang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69077
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.h
The file was modifiedllvm/test/TableGen/GICombinerEmitter/match-invalid.td
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagOperands.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagOperands.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.cpp
The file was addedllvm/test/TableGen/GICombinerEmitter/parse-match-pattern.td
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.h
Commit 0a1ba7c536af91e63da8cde62e9cac60547a2c97 by llvmgnsyncbot
gn build: Merge 390c8baa544
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Commit 3d15605358ebadcbd7740a61c92b4fea4d6241e5 by kadircet
[clangd][NFC] Make use of TagDecl inside type for hover on auto
Summary: We were traversing AST twice to get the Decl in case of sugared
types(auto, decltype). They seem to be same in practice, so this patch
gets rid of the second traversal and makes use of TagDecl inside
QualType instead.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71597
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 9ab15f303efdfc841f475918535ab4e13960491b by kadircet
[clangd] Fix handling of inline/anon namespaces and names of deduced
types in hover
Summary: Clangd normally skips inline and anon namespaces while printing
nested name specifiers. It also drops any tag specifiers since we make
use of `HoverInfo::Kind` instead of some text in `HoverInfo::Name`
There was a bug causing us to print innermost inline/anon namespace,
this patch fixes that by skipping those. Also changes printing and kind
detection of deduced types to be similar to decl case.
Also improves printing for lambdas, currently clangd prints lambdas as
`(anonymous class)`, we can improve it by at least printing `(lambda)`
instead.
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71543
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/AST.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 2423774cc2a040d34d32aacaf261805cb195ebd2 by 31459023+hctim
Revert "Honor  -fuse-init-array when os is not specified on x86"
This reverts commit aa5ee8f244441a8ea103a7e0ed8b6f3e74454516.
This change broke the sanitizer buildbots. See comments at the patchset
(https://reviews.llvm.org/D71360) for more information.
The file was modifiedllvm/test/CodeGen/X86/constructor.ll
The file was modifiedllvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetObjectFile.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetObjectFile.cpp
The file was modifiedllvm/test/CodeGen/X86/init-priority.ll
The file was modifiedllvm/lib/Target/Mips/MipsTargetObjectFile.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
Commit fbaf835c5c515bf00dccd880b8afe0b2e0a10e06 by spatel
[AArch64] add tests for fcvtl2; NFC
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vcvt_f.ll
Commit 9658e77e27fa2a93667f840d230086d783fed6dc by jdenny.ornl
[lit] Fix internal diff newlines for -w/-b
For example, without this patch:
```
$ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt
*** /tmp/foo.txt
--- /tmp/bar.txt
***************
*** 1,2 ****
1! 2--- 1,2 ----
1! 20
```
With this patch:
```
$ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt
*** /tmp/foo.txt
--- /tmp/bar.txt
***************
*** 1,2 ****
1
! 2
--- 1,2 ----
1
! 20
```
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71577
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-w.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-b.txt
Commit ad622af07990ed0d332513cf2244b4c45b476ac7 by jay.foad
[AMDGPU] Update autogenerated checks
The file was modifiedllvm/test/CodeGen/AMDGPU/computeNumSignBits-mul.ll
Commit 4272372c571cd33edc77a8844b0a224ad7339138 by mtrent
[ MC ] Match labels to existing fragments even when switching sections.
Summary: This commit builds upon Derek Schuff's 2014 commit for
attaching labels to existing fragments ( Diff Revision:
http://reviews.llvm.org/D5915 )
When temporary labels appear ahead of a fragment, MCObjectStreamer will
track the temporary label symbol in a "Pending Labels" list. Labels are
associated with fragments when a real fragment arrives; otherwise, an
empty data fragment will be created if the streamer's section changes or
if the stream finishes.
This commit moves the "Pending Labels" list into each MCStream, so that
this label-fragment matching process is resilient to section changes. If
the streamer emits a label in a new section, switches to another section
to do other work, then switches back to the first section and emits a
fragment, that initial label will be associated with this new fragment.
Labels will only receive empty data fragments in the case where no other
fragment exists for that section.
The downstream effects of this can be seen in Mach-O relocations. The
previous approach could produce local section relocations and external
symbol relocations for the same data in an object file, and this mix of
relocation types resulted in problems in the ld64 Mach-O linker. This
commit ensures relocations triggered by temporary labels are consistent.
Reviewers: pete, ab, dschuff
Reviewed By: pete, dschuff
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71368
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was addedllvm/test/MC/MachO/pending-labels.s
The file was modifiedllvm/lib/MC/MCSection.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/include/llvm/MC/MCObjectStreamer.h
Commit 65f94b33808d7d69539961a6f5a2168f0a1eef41 by Piotr Sobczak
[InstCombine][AMDGPU] Trim more components of *buffer_load
Summary: Add trimming of unused components of s_buffer_load.
Extend trimming of *buffer_load to also include unused components at the
beginning of vectors and update offset.
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr,
t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70315
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll
Commit 520e3d66e7257c77f1226185504bbe1cb90afcfa by daniel_l_sanders
[gicombiner] Process the MatchDag such that every node is reachable from
the roots
Summary: When we build the walk across these DAG's we need to be able to
reach every node from the roots. Flip and traversal edges (so that
use->def becomes def->uses) that make nodes unreachable. Note that early
on we'll just error out on these flipped edges as def->uses edges are
more complicated to match due to their one->many nature.
Depends on D69077
Reviewers: volkan, bogner
Subscribers: llvm-commits
The file was modifiedllvm/test/TableGen/GICombinerEmitter/parse-match-pattern.td
The file was modifiedllvm/include/llvm/ADT/iterator.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
Commit d1c0f14be8a7d1337712ff1cf0bcdd33e2f78316 by ulrich.weigand
[SystemZ][FPEnv] Back-end support for STRICT_[SU]INT_TO_FP
As of b1d8576 there is middle-end support for STRICT_[SU]INT_TO_FP, so
this patch adds SystemZ back-end support as well.
The patch is SystemZ target specific except for adding SD patterns
strict_[su]int_to_fp and any_[su]int_to_fp to TargetSelectionDAG.td as
usual.
The file was addedllvm/test/CodeGen/SystemZ/fp-strict-conv-05.ll
The file was addedllvm/test/CodeGen/SystemZ/fp-strict-conv-07.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrFP.td
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-conv-01.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrVector.td
The file was addedllvm/test/CodeGen/SystemZ/fp-strict-conv-13.ll
The file was addedllvm/test/CodeGen/SystemZ/fp-strict-conv-06.ll
The file was addedllvm/test/CodeGen/SystemZ/fp-strict-conv-08.ll
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-conv-16.ll
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
Commit ff6567cc7720655de9d8731fb3005d1aaccec96a by deadalnix
[DAGCombiner] Add node back in the worklist in topological order in
CommitTargetLoweringOpt
Summary: Right now, DAGCombiner process the nodes in an iplementation
defined order. This tends to be fragile as optimisation may or may not
kick in depending on the traversal order.
This is part of a larger effort to get the DAGCombiner to process its
node in topological order.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70921
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 2f40f5681d0d896e592d1b6738d1df17228c68a8 by kevin.neal
[FPEnv] IRBuilder support for constrained sitofp/uitofp.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
Commit 2c8e22d25c2091764ccde67812a3f707277052b2 by zakk.chen
[RISCV] Add subtargets initialized with target feature
expected failed test (RV32IF-ILP32F) will be fixed in a subsequent
patch.
Reviewers: efriedma, lenary, asb
Reviewed By: efriedma, lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70116
The file was addedllvm/test/CodeGen/RISCV/subtarget-features-std-ext.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.h
Commit 0c83f8ccc745522d2a25bcef2067bde295be9f75 by jonathanchesterfield
[libomptarget][nfc] Move three files under common, build them for amdgcn
Summary:
[libomptarget][nfc] Move three files under common, build them for amdgcn
Change to reduction.cu to remove two dead includes, otherwise no code
change.
Reviewers: jdoerfert, ABataev, grokos
Reviewed By: jdoerfert
Subscribers: jvesely, mgorny, openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D71601
The file was addedopenmp/libomptarget/deviceRTLs/common/src/libcall.cu
The file was addedopenmp/libomptarget/deviceRTLs/common/src/reduction.cu
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/reduction.cu
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/omp_data.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
The file was addedopenmp/libomptarget/deviceRTLs/common/src/omp_data.cu
The file was modifiedopenmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
The file was removedopenmp/libomptarget/deviceRTLs/nvptx/src/libcall.cu
Commit 25ce33a6e4f3b13732c0f851e68390dc2acb9123 by Alex Lorenz
[driver][darwin] Pass -platform_version flag to the linker instead of
the -<platform>_version_min flag
In Xcode 11, ld added a new flag called -platform_version that can be
used instead of the old -<platform>_version_min flags. The new flag
allows Clang to pass the SDK version from the driver to the linker. This
patch adopts the new -platform_version flag in Clang, and starts using
it by default, unless a linker version < 520 is passed to the driver.
Differential Revision: https://reviews.llvm.org/D71579
The file was modifiedllvm/include/llvm/Support/VersionTuple.h
The file was modifiedclang/test/Driver/darwin-sdkroot.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedclang/test/Driver/darwin-ld-platform-version-macos.c
The file was modifiedclang/lib/Driver/ToolChains/Darwin.h
The file was addedclang/test/Driver/darwin-ld-platform-version-ios.c
The file was addedclang/test/Driver/Inputs/WatchOS6.0.sdk/SDKSettings.json
The file was addedclang/test/Driver/darwin-ld-platform-version-watchos.c
The file was addedclang/test/Driver/Inputs/iPhoneOS13.0.sdk/SDKSettings.json
The file was modifiedclang/test/Driver/target-triple-deployment.c
The file was modifiedclang/test/Driver/darwin-infer-simulator-sdkroot.c
The file was modifiedclang/test/Driver/darwin-ld.c
The file was addedclang/test/Driver/darwin-ld-platform-version-tvos.c
Commit 55c55f8eb86ba3e77fe73ccdf7c861e2c2c7ae92 by thakis
Revert "[ASTImporter] Friend class decl should not be visible in its
context"
This reverts commit 4becf68c6f17fe143539ceac954b21175914e1c1. Breaks
building on Windows, see comments on D71020
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 36b1232ec5f370ab9fe8fcff0458d2fca5ca9b7f by spatel
[SDAG] remove use restriction in isNegatibleForFree() when called from
getNegatedExpression()
This is an alternate fix for the bug discussed in D70595. This also
includes minimal tests for other in-tree targets to show the problem
more generally.
We check the number of uses as a predicate for whether some value is
free to negate, but that use count can change as we rewrite the
expression in getNegatedExpression(). So something that was marked free
to negate during the cost evaluation phase becomes not free to negate
during the rewrite phase (or the inverse - something that was not free
becomes free). This can lead to a crash/assert because we expect that
everything in an expression that is negatible to be handled in the
corresponding code within getNegatedExpression().
This patch adds a hack to work-around the case where we probably no
longer detect that either multiply operand of an FMA isNegatibleForFree
which is assumed to be true when we started rewriting the expression.
Differential Revision: https://reviews.llvm.org/D70975
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fmadd.ll
Commit 5b0251da1c7aeaa641955974e7961e1fb07af9e0 by spatel
Revert "[SDAG] remove use restriction in isNegatibleForFree() when
called from getNegatedExpression()"
This reverts commit 36b1232ec5f370ab9fe8fcff0458d2fca5ca9b7f. Need to
adjust commit message - that was a leftover from the earlier version.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fmadd.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
Commit 6a77e369755e59b92ac5b689a010bd0796810e35 by spatel
[SDAG] adjust isNegatibleForFree calculation to avoid crashing
This is an alternate fix for the bug discussed in D70595. This also
includes minimal tests for other in-tree targets to show the problem
more generally.
We check the number of uses as a predicate for whether some value is
free to negate, but that use count can change as we rewrite the
expression in getNegatedExpression(). So something that was marked free
to negate during the cost evaluation phase becomes not free to negate
during the rewrite phase (or the inverse - something that was not free
becomes free). This can lead to a crash/assert because we expect that
everything in an expression that is negatible to be handled in the
corresponding code within getNegatedExpression().
This patch adds a hack to work-around the case where we probably no
longer detect that either multiply operand of an FMA isNegatibleForFree
which is assumed to be true when we started rewriting the expression.
Differential Revision: https://reviews.llvm.org/D70975
The file was modifiedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fmadd.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 0412f518dcb05216d2321c28366eb760b65baebc by jay.foad
[AMDGPU] Fix typo in SIInstrInfo::memOpsHaveSameBasePtr
Summary: The typo has been present since memOpsHaveSameBasePtr was
introduced in r313208.
It caused SIInstrInfo::shouldClusterMemOps to cluster more mem ops than
it was supposed to.
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71616
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/madak.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/shl_add_ptr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/fadd.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_smrd.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ctpop16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4s.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/add.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/sub.v2i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wait.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vector_shuffle.packed.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot4u.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/ctpop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/max.i16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/trunc-combine.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/idot8s.ll
Commit a4e1819c16836dba928e646024a2406bb2eb3f94 by Alex Lorenz
[objc_direct] fix uniquing when re-declaring a readwrite-direct property
ObjCMethodDecl::getCanonicalDecl() for re-declared readwrite properties,
only looks in the ObjCInterface for the declaration of the setter
method, which it won't find.
When the method is a property accessor, we must look in extensions for a
possible redeclaration.
Radar-Id: rdar://problem/57991337
Differential Revision: https://reviews.llvm.org/D71588
The file was modifiedclang/lib/AST/DeclObjC.cpp
The file was modifiedclang/test/CodeGenObjC/direct-method.m
Commit 79b4c897b8ea5d28af1a2455c7409fc0df803079 by d.c.ddcc
llvm-diff: Perform structural comparison on GlobalVariables, if possible
Summary: Names of GlobalVariables may not be preserved depending on
compilation options, so prefer a structural diff
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71582
The file was modifiedllvm/tools/llvm-diff/DifferenceEngine.cpp
Commit 599d1cc07a51e9a556afa2a995930f7ffe0e42cd by paulsson
[Clang FE, SystemZ]  Recognize -mpacked-stack CL option
Recognize -mpacked-stack from the command line and add a function
attribute
"mpacked-stack" when passed. This is needed for building the Linux
kernel.
If this option is passed for any other target than SystemZ, an error is
generated.
Review: Ulrich Weigand https://reviews.llvm.org/D71441
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was addedclang/test/CodeGen/packed-stack.c
Commit 8aee6b414a8918993e9ae4cdabe67322ec0f6e63 by sbc
[WebAssembly] Convert MC tests to from bitcode to asm
Now that our `.s` format is stable(ish) and useable we should really
convert all our MC and lld tests over to .s format to match other
targets.
This is a test PR that just converts 2 of our MC tests to see what it
might look like.
Differential Revision: https://reviews.llvm.org/D71506
The file was removedllvm/test/MC/WebAssembly/weak.ll
The file was addedllvm/test/MC/WebAssembly/weak-alias.s
The file was addedllvm/test/MC/WebAssembly/weak.s
The file was removedllvm/test/MC/WebAssembly/weak-alias.ll
Commit d020e67575d9806d318787eec9d71828eab8f57a by sstipanovic
[Attributor][NFC] Add test for sle comparison in h2s.
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
Commit fff8ec98139379968cc7cebb71d771cf58a39a5c by sstipanovic
[Attributor] H2S fix.
Summary: Fixing issues that were noticed in D71521
Reviewers: jdoerfert, lebedev.ri, uenoku
Subscribers:
Differential Revision: https://reviews.llvm.org/D71564
The file was modifiedllvm/test/Transforms/Attributor/heap_to_stack.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 15d47deedd1623289ef8f56cabd44bc2592745ac by a.bataev
[LIBOPENMP][NVPTX]Fix the build error in the runtime.
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/libcall.cu
Commit b6e7084e25ad0592b8e29ceea6462952e2ad79b9 by a.bataev
[OPENMP50]Add parsing/sema analysis for nontemporal clause.
Add basic support for parsing/sema analysis of the nontemporal clause in
simd-based directives.
The file was modifiedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_misc_messages.c
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/for_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/test/OpenMP/target_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_misc_messages.c
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/test/OpenMP/simd_misc_messages.c
The file was modifiedclang/test/OpenMP/parallel_for_simd_ast_print.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_messages.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedclang/test/OpenMP/taskloop_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/for_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/simd_ast_print.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/distribute_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_misc_messages.c
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_misc_messages.c
The file was modifiedclang/test/OpenMP/teams_distribute_simd_ast_print.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 1e89188d3537d419f6bdc3276ab8848adf6752f5 by ulrich.weigand
[FPEnv] Remove unnecessary rounding mode argument for constrained
intrinsics
The following intrinsics currently carry a rounding mode metadata
argument:
    llvm.experimental.constrained.minnum
   llvm.experimental.constrained.maxnum
   llvm.experimental.constrained.ceil
   llvm.experimental.constrained.floor
   llvm.experimental.constrained.round
   llvm.experimental.constrained.trunc
This is not useful since the semantics of those intrinsics do not in any
way depend on the rounding mode. In similar cases, other constrained
intrinsics do not have the rounding mode argument. Remove it here as
well.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D71218
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-round-01.ll
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedllvm/test/CodeGen/X86/fp128-libcalls-strict.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/ppcf128-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/ARM/fp-intrinsics.ll
The file was modifiedclang/test/CodeGen/constrained-math-builtins.c
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-min-01.ll
The file was modifiedllvm/include/llvm/IR/ConstrainedOps.def
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-round-02.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-round-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/fp-strict-round-03.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-max-01.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-round-02.ll
Commit b3f789e037cbfdb1439c01a4eefc9ab9bb0d2c64 by apl
[perf-training] Change profile file pattern string to use %4m instead of
%p
Summary: With %p, each test file that we're using to generate profile
data will make its own profraw file which is around 60 MB in size. If we
have a lot of test files, that quickly uses a lot of space. Use %4m
instead to share the profraw files used to store the profile data. We
use 4 here based on the default value in
https://reviews.llvm.org/source/llvm-github/browse/master/llvm/CMakeLists.txt$604
Reviewers: beanz, phosek, xiaobai, smeenai, vsk
Reviewed By: vsk
Subscribers: vsk, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71585
The file was modifiedclang/utils/perf-training/lit.cfg
Commit 399273e5ebac04f85257ed37934bb27f521d0617 by SourabhSingh.Tomar
Recommit "[DebugInfo] Refactored macro related generation, added a test
case for macinfo.dwo emission."
This was reverted in caa412090666c10f854322cdc701c1cbf8ed726e, since it
was causing an assertion failure on Windows bots. This revision is
revised to fix that.
Original commit message -
[DebugInfo] Refactored macro related generation, added a test case for
macinfo.dwo emission.
Reviewers: dblaikie, aprantl, jini.susan.george
Tags: #debug-info #llvm
Differential Revision: https://reviews.llvm.org/D71008
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was addedllvm/test/DebugInfo/X86/debug-macinfo-split-dwarf.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 385339034f08212d95ade89fdbacb014d86be1e2 by koraq
[Frontend] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71530
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
Commit 3ec6128daeeaadde7dd2eca8b343a56f60a8364d by koraq
[Sema] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71529
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
Commit b750486c5d96320daf77a9760166f78b4a0c942e by koraq
[Driver] Avoid copies in range-based for loops
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71527
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
Commit 1a8ff89653d2a80a013701fe927d2d32491bff59 by koraq
[IR] Use a reference in a range-based for
This avoids unneeded copies when using a range-based for loops.
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D70870
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
Commit ba5a00167bf30df5d544fdbe9fd28ce1a8341b89 by nemanja.i.ibm
Fix buildbot failures after removing REQUIRES-ANY
It would appear that the removal of this lit feature was incomplete and
there is a test case that still tests for this. This patch removes the
remaining tests to bring the bots back to green. I would encourage the
author to do a post-commit review on this in case there is a more
desirable fix.
The file was modifiedllvm/utils/lit/tests/shtest-format.py
Commit c3bc805f4f99d7a75d0d45ce97ade6ade554e505 by tstellar
AMDGPU/SILoadStoreOptimillzer: Refactor CombineInfo struct
Summary: Modify CombineInfo to only store information about a single
instruction. This is a little easier to work with and removes a lot of
duplicate initialization code.
Reviewers: arsenm, nhaehnle
Reviewed By: arsenm, nhaehnle
Subscribers: merge_guards_bot, kzhuravl, jvesely, wdng, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71045
The file was modifiedllvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Commit 84161f18ccdc8f8f5a8fc16ca16d402ddc2b9ed4 by daltenty
[AIX] Avoid unset csect assert for functions defined after their use in
TOC
Summary: If a function is defined after it appears in a TOC expression,
we may try to access an unset containing csect when returning a symbol
for the expression.
Reviewers: Xiangling_L, DiggerLin, jasonliu, hubert.reinterpretcast
Reviewed By: hubert.reinterpretcast
Subscribers: hubert.reinterpretcast, wuzish, nemanjai, hiraditya,
kbarton, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71125
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 36bdc3dc35a509450d52a79225b1509f587236e9 by whitneyt
[LoopFusion] Move instructions from FC0.Latch to FC1.Latch.
Summary:This PR move instructions from FC0.Latch bottom up to the
beginning of FC1.Latch as long as they are proven safe.
To illustrate why this is beneficial, let's consider the following
example: Before Fusion: header1:
br header2 header2:
br header2, latch1 latch1:
br header1, preheader3 preheader3:
br header3 header3:
br header4 header4:
br header4, latch3 latch3:
br header3, exit3
After Fusion (before this PR): header1:
br header2 header2:
br header2, latch1 latch1:
br header3 header3:
br header4 header4:
br header4, latch3 latch3:
br header1, exit3
Note that preheader3 is removed during fusion before this PR. Notice
that we cannot fuse loop2 with loop4 as there exists block latch1 in
between. This PR move instructions from latch1 to beginning of latch3,
and remove block latch1. LoopFusion is now able to fuse loop nest
recursively.
After Fusion (after this PR): header1:
br header2 header2:
br header3 header3:
br header4 header4:
br header2, latch3 latch3:
br header1, exit3
Reviewer: kbarton, jdoerfert, Meinersbur, dmgreen, fhahn, hfinkel,
bmahjour, etiotto Reviewed By: kbarton, Meinersbur Subscribers:
hiraditya, llvm-commits Tag: LLVM Differential Revision:
https://reviews.llvm.org/D71165
The file was modifiedllvm/include/llvm/Transforms/Utils/CodeMoverUtils.h
The file was modifiedllvm/test/Transforms/LoopFusion/four_loops.ll
The file was modifiedllvm/test/Transforms/LoopFusion/guarded.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopFuse.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeMoverUtils.cpp
The file was modifiedllvm/test/Transforms/LoopFusion/simple.ll
The file was modifiedllvm/test/Transforms/LoopFusion/loop_nest.ll
Commit be88a20c900463c4919433109e4c17cd001da580 by Alex Lorenz
[driver][darwin] Use explicit -mlinker-version in the -platform_version
tests
The driver actually adds a default -mlinker-version, based on
HOST_LINK_VERSION cmake variable. The tests should be explicit about
which version they're using to trigger the right behavior.
The file was modifiedclang/test/Driver/darwin-ld-platform-version-ios.c
The file was modifiedclang/test/Driver/darwin-ld-platform-version-tvos.c
The file was modifiedclang/test/Driver/darwin-ld-platform-version-macos.c
The file was modifiedclang/test/Driver/darwin-ld-platform-version-watchos.c
Commit 84d8fa30f93a58a360524b93925ebfb0d36eba2e by craig.topper
[FPEnv][LegalizeTypes][LegalizeDAG][AArch64] Few fixes/improvements for
legalizing fp<->int conversion nodes.
This started with adding a test to support get code coverage on
ScalarizeVecOp_UnaryOp_StrictFP by copying an existing AArch64 test and
using constrained sitofp/uitofp intrinsics.
This found 3 separate issues:
-ScalarizeVecOp_UnaryOp_StrictFP needs to do its own replacement
because the caller can't handle replacing multiple results.
-Missing integer promotion support for sitofp/uitofp
-Chain result not always assigned in ExpandLegalINT_TO_FP.
Committing them together so I can add the test case.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was addedllvm/test/CodeGen/AArch64/fpconv-vector-op-scalarize-strict.ll
Commit 6d3f43ec61a60c37963ee5f54289cf0759fb5d61 by Artem Dergachev
[analysis] Discard type qualifiers when casting values retrieved from
the Store.
This canonicalizes the representation of unknown pointer symbols, which
reduces the overall confusion in pointer cast representation.
Patch by Vince Bridgers!
Differential Revision: https://reviews.llvm.org/D70836
The file was addedclang/test/Analysis/uninit-val-const-likeness.c
The file was modifiedclang/lib/StaticAnalyzer/Core/Store.cpp
Commit f827aff8598873194bccdfaf469f2dde7e5620d1 by 31459023+hctim
Revert "[ MC ] Match labels to existing fragments even when switching
sections."
This reverts commit 4272372c571cd33edc77a8844b0a224ad7339138.
Caused an MSan buildbot failure. More information available in the patch
that introduced the bug: https://reviews.llvm.org/D71368
The file was modifiedllvm/include/llvm/MC/MCObjectStreamer.h
The file was removedllvm/test/MC/MachO/pending-labels.s
The file was modifiedllvm/lib/MC/MCObjectStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCSection.h
The file was modifiedllvm/lib/MC/MCSection.cpp
Commit f1b351e14a912dbb797b731807d81d4c9af4db0e by tlively
[WebAssembly] Implement SIMD {i8x16,i16x8}.avgr_u instructions
Summary: These instructions were added to the spec proposal in
https://github.com/WebAssembly/simd/pull/126. Their semantics are
equivalent to `(a + b + 1) / 2`. The opcode for the experimental
i32x4.dot_i16x8_s is also bumped due to a collision with the
i8x16.avgr_u opcode.
Reviewers: aheejin
Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71628
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-arith.ll
Commit b8ac5894a115987fcc7e871049ec31a8eba66741 by Stanislav.Mekhanoshin
[AMDGPU] Fixed cost model for packed 16 bit ops
Differential Revision: https://reviews.llvm.org/D71622
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fadd.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/shifts.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fmul.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/add-sub.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/bit-ops.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/fsub.ll
The file was modifiedllvm/test/Analysis/CostModel/AMDGPU/mul.ll
Commit c36773c78eb52ae0c549dc286a441af0d1b8b712 by craig.topper
[FPEnv][LegalizeTypes] Make ScalarizeVecOp_STRICT_FP_ROUND do its own
replacements and return SDValue()
The caller will assert for nodes with more than 2 results unless we
return a null SDValue.
I tried to test this by copying an AArch64 test for
ScalarizeVecOp_FP_ROUND. While it did hit the assert and this commited
fixed that. It also hit a later problem that couldn't be fixed without
adding strict FP support to AArch64.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp