[llvm] r245252 - [WebAssembly] Make getArchTypePrefix return "wasm".
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 15:35:41 PDT 2015
Author: djg
Date: Mon Aug 17 17:35:40 2015
New Revision: 245252
URL: http://llvm.org/viewvc/llvm-project?rev=245252&view=rev
Log:
[WebAssembly] Make getArchTypePrefix return "wasm".
The arch prefix string isn't currently being used for anything on
WebAssembly, but if it were to be used, it makes sense to use the
same arch prefix string for wasm32 and wasm64.
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=245252&r1=245251&r2=245252&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Mon Aug 17 17:35:40 2015
@@ -124,8 +124,8 @@ const char *Triple::getArchTypePrefix(Ar
case spir64: return "spir";
case kalimba: return "kalimba";
case shave: return "shave";
- case wasm32: return "wasm32";
- case wasm64: return "wasm64";
+ case wasm32:
+ case wasm64: return "wasm";
}
}
More information about the llvm-commits
mailing list