summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/ModuleDiags/has_errors.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 10:27:20 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-04-21 10:27:20 +0000
commit279d03527e59bb6bcfaa04417e4d3210fb9f853b (patch)
tree1fb95db9704cb3ec3b1bd4e245f8e5d9fd3d695d /clang/test/Modules/Inputs/ModuleDiags/has_errors.h
parent41b4333066b1b37ad51dc751630aa8c983cfb003 (diff)
downloadbcm5719-llvm-279d03527e59bb6bcfaa04417e4d3210fb9f853b.tar.gz
bcm5719-llvm-279d03527e59bb6bcfaa04417e4d3210fb9f853b.zip
[globalisel][tablegen] Import SelectionDAG's rule predicates and support the equivalent in GIRule.
Summary: The SelectionDAG importer now imports rules with Predicate's attached via Requires, PredicateControl, etc. These predicates are implemented as bitset's to allow multiple predicates to be tested together. However, unlike the MC layer subtarget features, each target only pays for it's own predicates (e.g. AArch64 doesn't have 192 feature bits just because X86 needs a lot). Both AArch64 and X86 derive at least one predicate from the MachineFunction or Function so they must re-initialize AvailableFeatures before each function. They also declare locals in <Target>InstructionSelector so that computeAvailableFeatures() can use the code from SelectionDAG without modification. Reviewers: rovka, qcolombet, aditya_nandakumar, t.p.northover, ab Reviewed By: rovka Subscribers: aemerson, rengolin, dberris, kristof.beyls, llvm-commits, igorb Differential Revision: https://reviews.llvm.org/D31418 llvm-svn: 300964
Diffstat (limited to 'clang/test/Modules/Inputs/ModuleDiags/has_errors.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud