WebAssembly: add a generic CPU
authorJF Bastien <jfb@google.com>
Mon, 27 Jul 2015 23:25:54 +0000 (23:25 +0000)
committerJF Bastien <jfb@google.com>
Mon, 27 Jul 2015 23:25:54 +0000 (23:25 +0000)
commit7483355e345d0ec11696ea9fa4bee14dcf876ed7
tree82129775ab502b554867eae235fedf423b4a6151
parent688414f2514dbf3860fd437ea9c4898d1e6c4870
WebAssembly: add a generic CPU

Summary: WebAssemblySubtarget.cpp expects a default 'generic' CPU to exist, and this seems to be prevalent with other targets. It makes sense to have something between MVP and bleeding-edge, even though for now it's the same as MVP. This removes a warning that's currently generated.

Subscribers: jfb, llvm-commits, sunfish

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssembly.td
test/CodeGen/WebAssembly/cpus.ll