[llvm] [RuntimeDyld][LoongArch] Support large code model (PR #148584)
Lu Weining via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 23:05:11 PDT 2025
================
@@ -100,3 +103,42 @@ named_data:
.quad 0x2222222222222222
.quad 0x3333333333333333
.size named_data, .-named_data
+
+ .section .sec.large.pc,"ax"
+ .globl test_large_pc
+test_large_pc:
+## Code after link should be:
+## 1a44444d pcalau12i $t1, 139810
+## 02c4440c addi.d $t0, 273
----------------
SixWeining wrote:
```suggestion
## 02c4440c addi.d $t0, $zero, 273
```
https://github.com/llvm/llvm-project/pull/148584
More information about the llvm-commits
mailing list