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

ZhaoQi via All-commits all-commits at lists.llvm.org
Thu Nov 28 22:02:03 PST 2024


  Branch: refs/heads/users/zhaoqi5/vec-bitreverse-opt
  Home:   https://github.com/llvm/llvm-project
  Commit: f3065bddf7a325f1bbaefd9c1895a24669e3beda
      https://github.com/llvm/llvm-project/commit/f3065bddf7a325f1bbaefd9c1895a24669e3beda
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2024-11-29 (Fri, 29 Nov 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

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