llvm-project
4121de43 - [SelectionDAG] Implement SDTCisVTSmallerThanOp/SDTCisOpSmallerThanOp in SDNodeInfo::verifyNode. (#230679)

Commit
39 days ago
[SelectionDAG] Implement SDTCisVTSmallerThanOp/SDTCisOpSmallerThanOp in SDNodeInfo::verifyNode. (#230679) I've tried to capture the rules based on what tablegen does: -Both should be FP or int. -Both should be vector or scalar. -If the scalar size is smaller then they contraint is satisified. -If the scalar size is equal, the total size must be smaller. We throw an error for comparing the total size of a fixed and scalable vector. I don't know if we have good examples of what the rules should be for mixing. Assisted-by: Claude
Author
Parents
Loading