d-smirnov opened a new pull request #8008: URL: https://github.com/apache/tvm/pull/8008
This PR adds llvm-12 to ubuntu1804_install_llvm.sh. This is needed as llvm, prior to 11.1.0, contains an issue which affects X86 backend and virtually prevents some cases of vectorization done in TVM (https://github.com/llvm/llvm-project/commit/c7b54a196e1363cbe43122f01a728cd71fa1686a). To reproduce this issue locally one can use following publicly available network https://github.com/ARM-software/ML-zoo/blob/master/models/keyword_spotting/ds_cnn_small/tflite_int8/ds_cnn_s_quantized.tflite Command line: `tvmc compile --target llvm ds_cnn_s_quantized.tflite ` will fail in attempt to perform `combineMul ` on `t20: v12i32 = mul nsw t19, t6` due to missing MVT of v6i32 (which in fact should be EVT, not MVT) on llvm versions prior 11.1.0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
