The execution domain fixing pass defaults to the lowest numbered domain. This patch swizzles the domain numbering at the X86 interface to the pass when AVX2 is enabled so that integer appears to be the lowest numbered domain. This allows us to use the same tables for both cases.
The test updates are incomplete and may no longer apply cleanly. This patch has been sitting on my computer for a while.
This probably be set to hasAVX2/hasInt256