SuccessChanges

Summary

  1. [NFC] Make remaining cost functions in LoopVectorize.cpp use InstructionCost (details)
  2. [llvm][nvptx] add atomicity to counter in ISelLowering (details)
  3. [ORC] Move LookupRequest from OrcShared to Orc. (details)
  4. [lit] Harmonize lit and llvm versionning (details)
  5. [llvm] Prevent infinite loop in InstCombine of select statements (details)
  6. [RISCV] Add scalable-vector integer extension patterns (details)
Commit c3ce2627949eee3b5d3012db78f670919a49b35d by david.sherwood
[NFC] Make remaining cost functions in LoopVectorize.cpp use InstructionCost

A previous patch has already changed getInstructionCost to return
an InstructionCost type. This patch changes the other various
getXXXCost functions to return an InstructionCost too. This is a
non-functional change - I've added a few asserts that the costs
are valid in places where we're selecting between vector call
and intrinsic costs. However, since we don't yet return invalid
costs from any of the TTI implementations these asserts should
not fire.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Differential Revision: https://reviews.llvm.org/D94065
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 170199f56262cc3c80591d332da3128bc25ada96 by tpopp
[llvm][nvptx] add atomicity to counter in ISelLowering

Previously uniqueCallSite could have race conditions between different
threads. Now it is accessed with an atomic RMW and will be unique
between different threads.

Differential Revision: https://reviews.llvm.org/D94784
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.h
Commit 95b63c7b139449b2d4084e986ca3f5bfde46b50c by Lang Hames
[ORC] Move LookupRequest from OrcShared to Orc.

It depends on Orc types (SymbolLookupSet), so can't be part of OrcShared.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/TargetProcessControl.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/OrcRPCTargetProcessControl.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/TPCDynamicLibrarySearchGenerator.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/TargetProcessControl.h
Commit fb5b12e42ef2255aaf6ab43cb426955257302531 by sguelton
[lit] Harmonize lit and llvm versionning

In addition to consistency, we'll hit a wall when 11.1.0 gets released, because
we cannot represent it with lit versioning scheme.

Differential Revision: https://reviews.llvm.org/D94157
The file was modifiedllvm/utils/lit/lit/__init__.py
Commit a003f26539cf4db744655e76c41f4c4a8913f116 by tpopp
[llvm] Prevent infinite loop in InstCombine of select statements

This fixes an issue where the RHS and LHS the comparison operation
creating the predicate were swapped back and forth forever.

Differential Revision: https://reviews.llvm.org/D94934
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Commit c81ea9429f8d0f4e4f7a8b3ccf29b63f4810102b by fraser
[RISCV] Add scalable-vector integer extension patterns

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94694
The file was addedllvm/test/CodeGen/RISCV/rvv/vexts-sdnode-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vexts-sdnode-rv32.ll