Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hashcat] Unsupported LLVM intrinsic llvm.bswap.i32(i32) #1195

Closed
kpet opened this issue Aug 21, 2023 · 1 comment · Fixed by #1198
Closed

[Hashcat] Unsupported LLVM intrinsic llvm.bswap.i32(i32) #1195

kpet opened this issue Aug 21, 2023 · 1 comment · Fixed by #1198
Assignees

Comments

@kpet
Copy link
Contributor

kpet commented Aug 21, 2023

Compiling the attached file with the following command line

clspv source_94575314086624.bc -cl-single-precision-constant -cl-kernel-arg-info -rounding-mode-rte=16,32 -fp64=0 -rewrite-packed-structs -std430-ubo-layout -decorate-nonuniform -hack-mul-extended -hack-convert-to-float -arch=spir --use-native-builtins=ceil,copysign,exp2,fabs,floor,fma,fmax,fmin,half_exp,half_exp10,half_exp2,half_log,half_log10,half_log2,half_powr,half_rsqrt,half_sqrt,isequal,isfinite,isgreater,isgreaterequal,isinf,isless,islessequal,islessgreater,isnan,isnormal,isnotequal,isordered,isunordered,mad,rint,round,rsqrt,signbit,sqrt,trunc, -spv-version=1.6 -max-pushconstant-size=128 -max-ubo-size=1073741824 -global-offset -long-vector -module-constants-in-storage-buffer -cl-arm-non-uniform-work-group-size -enable-printf -printf-buffer-size=1048576  -x ir  -o compiled.spv

results in the following unreachable being hit:

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.bswap.i32(i32) #5
Unsupported llvm intrinsic
UNREACHABLE executed at /path/to/clvk/external/clspv/lib/SPIRVProducerPass.cpp:2351!

source_94575314086624.zip

@rjodinchr
Copy link
Collaborator

Also need #1199 and #1200 to be fixed

@rjodinchr rjodinchr self-assigned this Aug 22, 2023
rjodinchr added a commit to rjodinchr/clspv that referenced this issue Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants