commit | 6b36b462738519662ccef8748db8cf7f17ed4911 | [log] [tgz] |
---|---|---|
author | Quentin Colombet <qcolombet@apple.com> | Fri Dec 15 23:07:42 2017 +0000 |
committer | Quentin Colombet <qcolombet@apple.com> | Fri Dec 15 23:07:42 2017 +0000 |
tree | 7d598e40099bd2f3f01116493556ff55ada91071 | |
parent | bee91d76343aa0fd5d616ec0e74b74e6de2bb545 [diff] |
[TableGen][GlobalISel] Have the predicate directly know which data they are dealing with Prior to this patch, a predicate wouldn't make sense outside of its rule. Indeed, it was only during emitting a rule that a predicate would be made aware of the IDs of the data it is checking. Because of that, predicates could not be moved around or compared between each other. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320887 91177308-0d34-0410-b5e6-96231b3b80d8