[all-commits] [llvm/llvm-project] ccbceb: [LoongArch] Fix implicit PesudoXVINSGR2VR error (#...
tangaac via All-commits
all-commits at lists.llvm.org
Tue Aug 19 02:22:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ccbcebcfd3c0db5e6686aff292f128dcd1f56bc8
https://github.com/llvm/llvm-project/commit/ccbcebcfd3c0db5e6686aff292f128dcd1f56bc8
Author: tangaac <tangyan01 at loongson.cn>
Date: 2025-08-19 (Tue, 19 Aug 2025)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/lasx/build-vector.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/insert-extract-element.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/insertelement.ll
Log Message:
-----------
[LoongArch] Fix implicit PesudoXVINSGR2VR error (#152432)
According to the instructions manual, when `vr0` is changed, high 128
bit of `xr0` is undefined.
Use `vinsgr2vr.b/h` to insert an `i8/i16` to low 128bit of a 256 vector
may cause undefined behavior when high 128bit is used in later
instructions.
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