Makes isOfType() usable after lower_to_hw_instr.
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21402>
constexpr uint32_t tempId() const noexcept { return data_.temp.id(); }
- constexpr bool hasRegClass() const noexcept { return isTemp() || isUndefined(); }
+ constexpr bool hasRegClass() const noexcept { return !isConstant(); }
constexpr RegClass regClass() const noexcept { return data_.temp.regClass(); }