SuccessChanges

Summary

  1. [NVPTX] Fixes -Wrange-loop-analysis warnings (details)
  2. [Hexagon] Fixes -Wrange-loop-analysis warnings (details)
  3. [AMDGPU] Fixes -Wrange-loop-analysis warnings (details)
  4. [X86] Fix typo of intrinsic name in test cases. NFC (details)
  5. [X86] Autogenerate complete checks. NFC (details)
  6. Revert "[ARM][TypePromotion] Enable by default" (details)
  7. [SelectionDAG] Copy FP flags when visiting a binary instruction. (details)
  8. Revert "[Concepts] Constrained partial specializations and function (details)
Commit 31262d6722c7ae6a9966a76064af43e5b3a8df71 by koraq
[NVPTX] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Also removed the top-level const as requested by Aaron Ballman in
similar patches.
Differential Revision: https://reviews.llvm.org/D71812
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
Commit 9c11026c1b0180f66e4b2a70611ec4f2d21ed3f7 by koraq
[Hexagon] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71814
The file was modifiedllvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
The file was modifiedllvm/lib/Target/Hexagon/BitTracker.cpp
The file was modifiedllvm/lib/Target/Hexagon/RDFLiveness.cpp
Commit 2d903cc9656d8b55d267ad21a2f21f63b9fcc3ab by koraq
[AMDGPU] Fixes -Wrange-loop-analysis warnings
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to
-Wall.
Differential Revision: https://reviews.llvm.org/D71815
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
Commit fa303ea5d367177b459524ba456a96ac9f144a07 by craig.topper
[X86] Fix typo of intrinsic name in test cases. NFC
These said test_f32_olt_s for the type of an overloaded intrinsic. But
the parser doesn't use that part of the name and just uses the types of
the arguments.
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
Commit a4aa40cebc9b4a1d8a7dafddd65d99c4fd53ebec by craig.topper
[X86] Autogenerate complete checks. NFC
The file was modifiedllvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
Commit b2c1ba5b1f8049cdacec1a111c2ef267cd5acff5 by rnk
Revert "[ARM][TypePromotion] Enable by default"
This reverts commit ee7579409b7d940c4e1314d126e900db30c4edff.
It causes crashes during ThinLTO. I suspect the issue is related to
races on the global TypeSize variable, which is 80 at the time of the
crash.
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/calls.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/phis-ret.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/casts.ll
The file was modifiedllvm/lib/CodeGen/TypePromotion.cpp
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/switch.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/wrapping.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/clear-structures.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed-icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/icmps.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/signed.ll
The file was modifiedllvm/test/Transforms/TypePromotion/ARM/pointers.ll
Commit fb0ccff6e56bde6c42b2ff941861564e24a7a805 by v.churavy
[SelectionDAG] Copy FP flags when visiting a binary instruction.
Summary: We noticed in Julia that the sequence below no longer turned
into a sequence of FMA instructions in LLVM 7+, but it did in LLVM 6.
```
   %29 = fmul contract <4 x double> %wide.load, %wide.load16
   %30 = fmul contract <4 x double> %wide.load13, %wide.load17
   %31 = fmul contract <4 x double> %wide.load14, %wide.load18
   %32 = fmul contract <4 x double> %wide.load15, %wide.load19
   %33 = fadd fast <4 x double> %vec.phi, %29
   %34 = fadd fast <4 x double> %vec.phi10, %30
   %35 = fadd fast <4 x double> %vec.phi11, %31
   %36 = fadd fast <4 x double> %vec.phi12, %32
```
Unlike Clang, Julia doesn't set the `unsafe-fp-math=true` function
attribute, but rather emits more local instruction flags.
This partially undoes https://reviews.llvm.org/D46854 and if required I
can try to minimize the test further.
Reviewers: spatel, mcberg2017
Reviewed By: spatel
Subscribers: chriselrod, merge_guards_bot, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71495
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/X86/fmf-reduction.ll
Commit 79cc9e9b304a90598e8def4c8b5354d1f99186eb by rnk
Revert "[Concepts] Constrained partial specializations and function
overloads."
This reverts commit d3f5769d5e93b30d4a8b4696381d5e4a304992fa.
Causes crashes on Chromium. Have reproducer, will reduce and send along.
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.normal/p1.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.order/class-template-partial-specializations.cpp
The file was modifiedclang/lib/Sema/SemaConcept.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.order/var-template-partial-specializations.cpp
The file was modifiedclang/lib/Serialization/ASTWriterDecl.cpp
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was removedclang/test/CXX/temp/temp.constr/temp.constr.order/function-templates.cpp
The file was modifiedclang/include/clang/AST/DeclTemplate.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
The file was modifiedclang/lib/AST/DeclTemplate.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp