The configure script is flawed that it does not check for support for %zmm* registers. With llvm < 20, this means it would enable assembler for SM4, which will break build.
Created attachment 274196 [details] Proposed patch
See PR/297987. We tried that same patch in that PR. It doesn't work. *** This bug has been marked as a duplicate of bug 297987 ***