I've tried working around this by adding cross compilation --target=x86_64-apple-darwin, but this results in no output at all, except:
'apple-m3' is not a recognized processor for this target (ignoring processor)
I needed to add --target-cpu=skylake --mca-arg=-skip-unsupported-instructions=parse-failure to get it working.
When crosscompiling with llvm-mca you need to specify which CPU to use for timing information - it defaults to your current platform and error messages can be confusing.
--mcaoption doesn't work on ARM due to assuming Intel asm syntax.I've tried working around this by adding cross compilation
--target=x86_64-apple-darwin, but this results in no output at all, except:I needed to add
--target-cpu=skylake --mca-arg=-skip-unsupported-instructions=parse-failureto get it working.When crosscompiling with
llvm-mcayou need to specify which CPU to use for timing information - it defaults to your current platform and error messages can be confusing.