[X86] Make elfiamcu an OS, not an environment.
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 27 Oct 2015 07:23:59 +0000 (07:23 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 27 Oct 2015 07:23:59 +0000 (07:23 +0000)
commit684557ee8c2679d846526d6fb2b40121ff68ce0a
tree6df7409231de1be91b9f5584e2014f13cec827b4
parentffc19a06bed36065a3459b1a37706ad8cf600868
[X86] Make elfiamcu an OS, not an environment.

GNU tools require elfiamcu to take up the entire OS field, so, e.g.
i?86-*-linux-elfiamcu is not considered a legal triple.
Make us compatible.

Differential Revision: http://reviews.llvm.org/D14081

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251390 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
lib/Support/Triple.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/mcu-abi.ll
unittests/ADT/TripleTest.cpp