[PATCH] [ARM] Fix ARM triple parsing.

Gabor Ballabas gaborb at inf.u-szeged.hu
Wed Nov 12 08:45:45 PST 2014


Hi Renato,

I changed the ARM triple parsing function as you requested,
and added tests on LLVM side.
As for the triple starting with "i*", "x86*" and "mips*" I think
these cases can be easily handled by enumerating all possible
cases (there aren't so many as ARM cases), but if you still think
that these cases should be handled in their separate function
I will refactor the patch.

http://reviews.llvm.org/D6058

Files:
  lib/Support/Triple.cpp
  llvm/test/CodeGen/ARM/invalid-target.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6058.16097.patch
Type: text/x-patch
Size: 3722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141112/0d500808/attachment.bin>


More information about the llvm-commits mailing list