3 Commits

Author SHA1 Message Date
wanglei
75265c7f49 [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
2022-09-26 10:52:54 +08:00
WANG Xuerui
ed078c48f0 [LoongArch] Add insn aliases jr and ret
Differential Revision: https://reviews.llvm.org/D131512
2022-08-11 10:02:45 +08:00
gonglingqin
aeaca854d1 [LoongArch] Add codegen support for handling floating point immediates
Differential Revision: https://reviews.llvm.org/D128898
2022-07-07 08:13:33 +08:00