Use UnknownVendor rather than UnknownArch since they're in two different enums

and we're switching on vendor and not arch.

llvm-svn: 338458
This commit is contained in:
Eric Christopher 2018-07-31 23:53:23 +00:00
parent 1f9e03f04d
commit 926b7c71f3

View File

@ -78,7 +78,7 @@ PlatformSP PlatformWindows::CreateInstance(bool force,
create = true;
break;
case llvm::Triple::UnknownArch:
case llvm::Triple::UnknownVendor:
create = !arch->TripleVendorWasSpecified();
break;