[CPU] Handle constant multiply in fmadd/fmsub in constant propagation pass
This commit is contained in:
@@ -97,8 +97,10 @@ class HIRBuilder {
|
||||
void BranchTrue(Value* cond, Label* label, uint16_t branch_flags = 0);
|
||||
void BranchFalse(Value* cond, Label* label, uint16_t branch_flags = 0);
|
||||
|
||||
// phi type_name, Block* b1, Value* v1, Block* b2, Value* v2, etc
|
||||
Value* AllocValue(TypeName type = INT64_TYPE);
|
||||
Value* CloneValue(Value* source);
|
||||
|
||||
// phi type_name, Block* b1, Value* v1, Block* b2, Value* v2, etc
|
||||
Value* Assign(Value* value);
|
||||
Value* Cast(Value* value, TypeName target_type);
|
||||
Value* ZeroExtend(Value* value, TypeName target_type);
|
||||
@@ -253,9 +255,6 @@ class HIRBuilder {
|
||||
void DumpValue(StringBuffer* str, Value* value);
|
||||
void DumpOp(StringBuffer* str, OpcodeSignatureType sig_type, Instr::Op* op);
|
||||
|
||||
Value* AllocValue(TypeName type = INT64_TYPE);
|
||||
Value* CloneValue(Value* source);
|
||||
|
||||
private:
|
||||
Block* AppendBlock();
|
||||
void EndBlock();
|
||||
|
||||
Reference in New Issue
Block a user