[PATCH] D156543: [CSKY][NFC][test] Add more tests of CodeGen for intrinsics

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 02:06:00 PDT 2023


benshi001 marked an inline comment as done.
benshi001 added inline comments.


================
Comment at: llvm/test/CodeGen/CSKY/intrinsic.ll:12
+; CHECK-NEXT:  .LBB0_2:
+; CHECK-NEXT:    movi16 a0, 32
+; CHECK-NEXT:    rts16
----------------
zixuan-wu wrote:
> BTW. Because counting zeros is not expensive, it's a little opt to set isCheapToSpeculateCttz and isCheapToSpeculateCtlz as other targets. So that this sequence can be same as ctlz_1. Anyway, it's can be another patch.
Thanks. I have made another patch https://reviews.llvm.org/D156780 for that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156543/new/

https://reviews.llvm.org/D156543



More information about the llvm-commits mailing list