[TableGen] Simplify some code. NFC
This code was creating 1 entry or 0 entry std::array to pass to to ArrayRef arguments. ArrayRef has a constructor from a single object and we can use std::nullopt for an empty ArrayRef.
Loading
Please sign in to comment