[Lldb-commits] [PATCH] D61073: [lldb] [lit] Add feature flags for native CPU features
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 24 08:53:58 PDT 2019
mgorny created this revision.
mgorny added reviewers: labath, zturner, krytarowski.
Herald added a subscriber: delcypher.
Add a new lit-cpuid tool that detects CPU features used by some of
the tests, and use it to populate available_features in lit. For now,
this means that the test for MM/XMM register read will be run only
when the host CPU support SSE instruction set. However, this is going
to make it possible to introduce additional tests relying on AVX.
https://reviews.llvm.org/D61073
Files:
lldb/CMakeLists.txt
lldb/lit/CMakeLists.txt
lldb/lit/Register/x86-mm-xmm-read.test
lldb/lit/lit.cfg.py
lldb/utils/lit-cpuid/CMakeLists.txt
lldb/utils/lit-cpuid/lit-cpuid.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61073.196467.patch
Type: text/x-patch
Size: 3302 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190424/198033f3/attachment.bin>
More information about the lldb-commits
mailing list