aco: simplify Operand() constructor
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34359>
This commit is contained in:
committed by
Marge Bot
parent
19531a0162
commit
ee0ee282b9
@@ -460,12 +460,11 @@ static constexpr PhysReg scc{253};
|
||||
*/
|
||||
class Operand final {
|
||||
public:
|
||||
constexpr Operand()
|
||||
: reg_(PhysReg{128}), isTemp_(false), isFixed_(true), isPrecolored_(false),
|
||||
isConstant_(false), isKill_(false), isUndef_(true), isFirstKill_(false),
|
||||
isLateKill_(false), isClobbered_(false), isCopyKill_(false), is16bit_(false),
|
||||
is24bit_(false), signext(false), constSize(0)
|
||||
{}
|
||||
constexpr Operand() noexcept
|
||||
{
|
||||
isUndef_ = true;
|
||||
setFixed(PhysReg{128});
|
||||
}
|
||||
|
||||
explicit Operand(Temp r) noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user