- Get rid of Optional<std::function> as std::function already have a null state
- Add private setLegalityCallback function to set legality callback for unknown ops
- Get rid of unknownOpsDynamicallyLegal flag, use unknownLegalityFn state insted. This causes behavior change when user first calls markUnknownOpDynamicallyLegal with callback and then without but I am not sure is the original behavior was really a 'feature', or just oversignt in the original implementation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo