changpeng wrote: It seems we have switched to use v_pk_mul_f16 for multiplication of bfloat, so the omod folding is going to be completely different . I am going to close this one, and open a new PR soon. https://github.com/llvm/llvm-project/pull/208595