aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/ConfigParseTest.cpp
diff options
context:
space:
mode:
authorZhaoQi <zhaoqi01@loongson.cn>2024-12-30 16:01:46 +0800
committerGitHub <noreply@github.com>2024-12-30 16:01:46 +0800
commitb53866fec80d8676705409140b8ed2147ec44fad (patch)
tree1a179ba8ecdbcd016a6db1027cc569228f32afca /clang/unittests/Format/ConfigParseTest.cpp
parent49331ab0b9a41f925153fe03cd7e0d4a33b7c3d4 (diff)
downloadllvm-b53866fec80d8676705409140b8ed2147ec44fad.zip
llvm-b53866fec80d8676705409140b8ed2147ec44fad.tar.gz
llvm-b53866fec80d8676705409140b8ed2147ec44fad.tar.bz2
[LoongArch] Modify expanding code sequence for PseudoLA_TLS_LE (#119696)
Before this commit, PseudoLA_TLS_LE for normal/medium code model expand normally to: ``` lu12i.w $rd, %le_hi20(sym) ori $rd, $rd, %le_lo12(sym) ``` This commit changes the result to: ``` lu12i.w $rd, %le_hi20_r(sym) add.w/d $rd, $rd, $tp, %le_add_r(sym) addi.w/d $rd, $rd, %le_lo12_r(sym) ``` This aims to be optimized by linker relaxation in the future. This commit makes no change to PseudoLA_TLS_LE in large code model.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
0 files changed, 0 insertions, 0 deletions