[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.
parent
b2f29adb
Please register or sign in to comment