[all-commits] [llvm/llvm-project] 3e2631: [LoongArch] Optimize codegen for ISD::ROTL (#100344)
hev via All-commits
all-commits at lists.llvm.org
Mon Jul 29 23:22:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e2631c9c62990467eca3e173f714367d7e7c0dd
https://github.com/llvm/llvm-project/commit/3e2631c9c62990467eca3e173f714367d7e7c0dd
Author: hev <wangrui at loongson.cn>
Date: 2024-07-30 (Tue, 30 Jul 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/rotl-rotr.ll
Log Message:
-----------
[LoongArch] Optimize codegen for ISD::ROTL (#100344)
The LoongArch rotr.{w,d} instruction ignores the high bits of the shift
operand, allowing it to generate more efficient code using the constant
zero register.
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