Changes

Changes from Git (git https://github.com/llvm/llvm-project.git)

Summary

  1. [VP][RISCV] Add vp.sqrt intrinsic and RISC-V support. (details)
  2. Don't crash when code completing `using enum ^Foo`. (details)
  3. [LoongArch] Lower BlockAddress/JumpTable (details)
Commit 43c5fbdd3a86ac8f7d3f6697b3916b4f9657d548 by yeting.kuo
[VP][RISCV] Add vp.sqrt intrinsic and RISC-V support.

The patch modeled vp.fabs patch D132793.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D133690
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfsqrt-vp.ll
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was addedllvm/test/CodeGen/RISCV/rvv/vfsqrt-vp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def
Commit 30b676ac5f3041a5494b1eb9c9a3322cfc56d480 by sam.mccall
Don't crash when code completing `using enum ^Foo`.

Fixes https://github.com/clangd/clangd/issues/1281

Differential Revision: https://reviews.llvm.org/D134243
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was addedclang/test/CodeCompletion/using-enum.cpp
Commit 75265c7f4975c199cbeb544b07ca511b6fc865e6 by luweining
[LoongArch] Lower BlockAddress/JumpTable

This patch uses a unified interface for lower GlobalAddress ConstantPool
BlockAddress and JumpTable.

This patch allows lowering addresses by using PC-relative addressing
for DSO-local symbols, and accessing the address through the global
offset table for DSO-preemptable symbols.

Remove hardcoded `MininumJumpTableEntries` for test lower JumpTable.

Also updated some test cases using ConstantPool, due to the addition of
relocation information.

Differential Revision: https://reviews.llvm.org/D134431
The file was modifiedllvm/lib/Target/LoongArch/CMakeLists.txt
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.h
The file was modifiedllvm/lib/Target/LoongArch/MCTargetDesc/LoongArchBaseInfo.h
The file was modifiedllvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll
The file was modifiedllvm/test/CodeGen/LoongArch/jump-table.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
The file was modifiedllvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
The file was modifiedllvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
The file was modifiedllvm/test/CodeGen/LoongArch/double-imm.ll
The file was modifiedllvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll
The file was addedllvm/test/CodeGen/LoongArch/global-address.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArchInstrInfo.td
The file was modifiedllvm/test/CodeGen/LoongArch/float-imm.ll
The file was modifiedllvm/lib/Target/LoongArch/LoongArch.h
The file was addedllvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
The file was modifiedllvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
The file was addedllvm/test/CodeGen/LoongArch/block-address.ll