[all-commits] [llvm/llvm-project] 953838: [LoongArch] Optimize vector bitreverse using scala...

ZhaoQi via All-commits all-commits at lists.llvm.org
Mon Dec 9 17:11:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 953838dceaff3728b9aa53ea4259efca15f38f66
      https://github.com/llvm/llvm-project/commit/953838dceaff3728b9aa53ea4259efca15f38f66
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/CodeGen/LoongArch/lasx/bitreverse.ll
    M llvm/test/CodeGen/LoongArch/lsx/bitreverse.ll

  Log Message:
  -----------
  [LoongArch] Optimize vector bitreverse using scalar bitrev and vshuf4i (#118054)

Custom lower vector type bitreverse to scalar bitrev and vshuf4i
instructions.

Keep `v2i64` and `v4i64` bitreverse `Expand`, it's good enough.



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