phoebewang wrote: > TBH I'm not sure if we need to add `avx512f,evex512` to intrinsics attributes and/or to `.td` as well. Yes, we need them for now. Otherwise, we cannot allocate ZMM registers. https://github.com/llvm/llvm-project/pull/148633