[llvm-branch-commits] [lld] [lld][LoongArch] Convert TLS IE to LE in the normal or medium code model (PR #123680)
Lu Weining via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 20 01:59:44 PDT 2025
https://github.com/SixWeining commented:
Seem that the commit message has some typo.
```
The code sequence converted is as follows:
lu12i.w $a0, %ie_pc_hi20(sym) # le_hi20 != 0, otherwise NOP
ori $a0 $a0, %ie_pc_lo12(sym)
```
`%ie_pc_hi20` should be `%le_hi20`, right?
And the source register of `ori` is `$zero` if `%le_hi20 == 0`.
https://github.com/llvm/llvm-project/pull/123680
More information about the llvm-branch-commits
mailing list