[PATCH] D44861: [C-API] Add LLVMGetHostCPU{Name,Features}.

Andres Freund via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 11 15:39:06 PDT 2018


anarazel added a comment.

> Ideally we would have a test for this code but given that it involves host CPU and features this seems quite tricky and not worth the benefit.

Yea, I was wondering about that, but the only test that seemed possible with reasonable would be to just call the functions and throw the results away, which didn't seem like it'd add much.

Thanks!


Repository:
  rL LLVM

https://reviews.llvm.org/D44861





More information about the llvm-commits mailing list