Commit 188eae5c by David Sehr

Consolidate shift processing into utility function

Move the three shift processing blocks into one function, refactor for some removal of commonality. BUG=none R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1364603002 .
parent 55f931f6
......@@ -715,6 +715,9 @@ private:
(static_cast<Machine *>(this)->*Method)(std::forward<Args>(args)...);
}
void lowerShift64(InstArithmetic::OpKind Op, Operand *Src0Lo, Operand *Src0Hi,
Operand *Src1Lo, Variable *DestLo, Variable *DestHi);
BoolFolding FoldingInfo;
};
} // end of namespace X86Internal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment