[llvm-dev] Inconsistency in -march option between llc and clang
Suprateeka R Hegde via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 29 06:17:26 PDT 2016
Hi
On AArch64 (ARM 64-Bit Platform), I see there is an inconsistency in the
values accepted by -march option between clang and llc.
---
$ llc -march=aarch64 -mattr=help 2>&1 | grep error
$ #No Error
$ llc -march=armv8a -mattr=help 2>&1 | grep error
llc: error: invalid target 'armv8a'.
$ clang -march=armv8a -E - < /dev/null 2>&1 | grep error
$ #No Error
$ clang -march=aarch64 -E - < /dev/null 2>&1 | grep error
clang-4.0: error: the clang compiler does not support '-march=aarch64'
---
llc accepts aarch64 (rejects armv8a) while clang accepts armv8a (rejects
aarch64).
Shall I file this as bug (and assign it to myself)? Or am I missing
something obvious?
Thanks a lot
--
Supra
More information about the llvm-dev
mailing list