llvm/unittests
Daniel Sanders f31ac9d1e8 [globalisel][tablegen] Compute available feature bits correctly.
Summary:
Predicate<> now has a field to indicate how often it must be recomputed.
Currently, there are two frequencies, per-module (RecomputePerFunction==0)
and per-function (RecomputePerFunction==1). Per-function predicates are
currently recomputed more frequently than necessary since the only predicate
in this category is cheap to test. Per-module predicates are now computed in
getSubtargetImpl() while per-function predicates are computed in selectImpl().

Tablegen now manages the PredicateBitset internally. It should only be
necessary to add the required includes.

Also fixed a problem revealed by the test case where
constrainSelectedInstRegOperands() would attempt to tie operands that
BuildMI had already tied.

Reviewers: ab, qcolombet, t.p.northover, rovka, aditya_nandakumar

Reviewed By: rovka

Subscribers: kristof.beyls, igorb, llvm-commits

Differential Revision: https://reviews.llvm.org/D32491

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301750 91177308-0d34-0410-b5e6-96231b3b80d8
2017-04-29 17:30:09 +00:00
..
ADT [StringExtras] Add a fromHex to complement toHex. 2017-04-25 20:21:35 +00:00
Analysis Teach SCEV normalization to de/normalize non-affine add recs 2017-04-25 00:09:19 +00:00
AsmParser
Bitcode
CodeGen [SVE] Fix mismatched sign comparison warning in unit test from r300842. 2017-04-20 16:54:49 +00:00
DebugInfo Remove the unnecessary virtual dtor from the DIEUnit hierarchy (in favor of protected dtor in the base, final derived classes with public non-virtual dtors) 2017-04-22 02:18:00 +00:00
ExecutionEngine [IR] Make paramHasAttr to use arg indices instead of attr indices 2017-04-14 20:19:02 +00:00
IR Revert r301697 "[IR] Make add/remove Attributes use AttrBuilder instead of AttributeList" 2017-04-28 23:01:32 +00:00
LineEditor
Linker
MC
MI
Object
ObjectYAML
Option
ProfileData
Support Fix a few pedantic warnings. 2017-04-27 22:10:57 +00:00
Target [globalisel][tablegen] Compute available feature bits correctly. 2017-04-29 17:30:09 +00:00
Transforms Prefer addAttr(Attribute::AttrKind) over the AttributeList overload 2017-04-19 17:28:52 +00:00
XRay
CMakeLists.txt