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

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 01:18:14 PDT 2023


zixuan-wu accepted this revision.
zixuan-wu added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/test/CodeGen/CSKY/intrinsic.ll:12
+; CHECK-NEXT:  .LBB0_2:
+; CHECK-NEXT:    movi16 a0, 32
+; CHECK-NEXT:    rts16
----------------
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.


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

https://reviews.llvm.org/D156543



More information about the llvm-commits mailing list