[PATCH] D154588: [CSKY] Optimize implementation of intrinsic 'llvm.cttz.i32'
Zixuan Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 31 23:38:41 PDT 2023
zixuan-wu added inline comments.
================
Comment at: llvm/test/CodeGen/CSKY/intrinsic.ll:21
+entry:
+ %ntz = call i32 @llvm.cttz.i32(i32 %x, i1 1)
+ ret i32 %ntz
----------------
I think we can also test the condition that the second argument is zero.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154588/new/
https://reviews.llvm.org/D154588
More information about the cfe-commits
mailing list