After adding https://github.com/blackgeorge-boom/llvm-unifico/pull/2 we need to add the -avoid-wide-mul attribute to AArch64, even if we are compiling for x86 only. This is because getting the callsite alignment files depends on the *aarch64_init.o files, whose compilation might break currently if we don't include the above flag.
Perhaps in the future, we can try to decouple this issue by making sure that compilation will work even if we don't include all of Unifico flags for llc.
After adding https://github.com/blackgeorge-boom/llvm-unifico/pull/2 we need to add the
-avoid-wide-mul
attribute to AArch64, even if we are compiling for x86 only. This is because getting the callsite alignment files depends on the*aarch64_init.o
files, whose compilation might break currently if we don't include the above flag.Perhaps in the future, we can try to decouple this issue by making sure that compilation will work even if we don't include all of Unifico flags for llc.
Closes: https://github.com/systems-nuts/unifico/issues/297