[PATCH] D70490: [mips] Add a 'generic' Mips CPU

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 21 05:31:24 PST 2019


atanasyan added a comment.

In D70490#1754970 <https://reviews.llvm.org/D70490#1754970>, @mstojanovic wrote:

> It gets the 'generic' CPU name with `sys::getHostCPUName()` and calls `createTargetMachine()`, which then emits a warning:
>
>   'generic' is not a recognized processor for this target (ignoring processor)
>
>
> Should  I add a unittest that recreates this process?


Is it possible already to add any useful test case to the `llvm/test/tools/llvm-exegesis/Mips`? If so, let's add. Otherwise changes in the `cpus.ll` are good enough.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70490/new/

https://reviews.llvm.org/D70490





More information about the llvm-commits mailing list