Displaying 2 results from an estimated 2 matches for "startwith".
Did you mean:
startswith
2016 May 09
2
LLVM issuse:AArch64 TargetParser
...trick in the clang.
> Checking whether the given arch valid or not,before we throw it to the
> parser,which can be used for both arm
> and aarch64.
For the actions I mentioned above,I wrote a check function as below, basing
on the naming rules of the arm architecture.
+//Only if -march startwith "armv" or "v" or "iwmmxt" or "xscale",it can be
seen valid and sended to TargetParser
+//for further parsing
+static bool checkArchValid(StringRef Arch)
+{
+ if ((Arch.startswith("armv")) || Arch[0] == 'v' ||
+ (Arch.startswith(&quo...
2016 May 05
2
LLVM issuse:AArch64 TargetParser
On 5 May 2016 at 13:01, Bradley Smith <Bradley.Smith at arm.com> wrote:
> Allowing -march=aarch64/arm64 is somewhat misleading I think, -march is used
> for specifying an architecture version to target whereas aarch64/arm64 don’t
> convey any information to that effect, does it mean armv8a, armv8.1-a, etc?
Hi Bradley,
That's a good point. But also, what does "armv8a"