[all-commits] [llvm/llvm-project] ba00d9: [LoongArch] Pre-commit test for #133225
wanglei via All-commits
all-commits at lists.llvm.org
Tue Apr 1 16:07:48 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: ba00d9f641e922684715e6364750bd722b4693d6
https://github.com/llvm/llvm-project/commit/ba00d9f641e922684715e6364750bd722b4693d6
Author: wanglei <wanglei at loongson.cn>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M llvm/test/MC/LoongArch/Relocations/relocations.s
Log Message:
-----------
[LoongArch] Pre-commit test for #133225
Reviewed By: SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/133224
(cherry picked from commit 725a7b664b92cd2e884806de5a08900b43d43cce)
Commit: e256eda15377acf4e26ea135a33e20ec4bd23ac0
https://github.com/llvm/llvm-project/commit/e256eda15377acf4e26ea135a33e20ec4bd23ac0
Author: wanglei <wanglei at loongson.cn>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchFloatInstrFormats.td
M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
M llvm/test/MC/LoongArch/Relocations/relocations.s
M llvm/test/MC/LoongArch/lasx/invalid-imm.s
M llvm/test/MC/LoongArch/lsx/invalid-imm.s
Log Message:
-----------
[LoongArch][MC] Add relocation support for fld fst [x]vld [x]vst
This also fixes errors when using Clang with step-by-step compilation.
Because the optimization will pass relocation information to memory
access instructions. For example:
t.c:
```
float f = 0.1;
float foo() { return f;}
```
```
clang --target=loongarch64 -O2 -c t.c --save-temps
```
Reviewed By: tangaac, SixWeining
Pull Request: https://github.com/llvm/llvm-project/pull/133225
(cherry picked from commit d055e58334a91dcbaee22eb87bcdae85a1f33cd4)
Compare: https://github.com/llvm/llvm-project/compare/f07f96873aa8...e256eda15377
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list