[all-commits] [llvm/llvm-project] 062601: [LoongArch] Implement canMergeStoresTo to avoid cr...
lrzlin via All-commits
all-commits at lists.llvm.org
Wed Apr 1 23:59:03 PDT 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: 0626016c5b901e84efd046181439a25276680b8d
https://github.com/llvm/llvm-project/commit/0626016c5b901e84efd046181439a25276680b8d
Author: lrzlin <linrunze at loongson.cn>
Date: 2026-04-01 (Wed, 01 Apr 2026)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
A llvm/test/CodeGen/LoongArch/mergestores.ll
Log Message:
-----------
[LoongArch] Implement canMergeStoresTo to avoid crash while NoImplicitFloat attribute is set (#188005)
Currently, when the `NoImplicitFloat` attribute is set, consecutive
64-bit load
and store operations will be combined into 128-bit ones, which is
illegal
because that attribute makes floating point and SIMD unavailable.
By implementing the canMergeStoresTo, we can prevent this incorrect
merging.
Fixes https://github.com/llvm/llvm-project/issues/186645
(cherry picked from commit 5651490992f3f5da7f39b228f019631725ff9d7f)
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