Skip to content
Commit be8069eb authored by Chris Lattner's avatar Chris Lattner Committed by jpienaar
Browse files

Introduce a new BinaryOp to commonize simple binary ops, introduce traits for

ResultIsFloatLike/ResultIsIntegerLike, move some code out of templates into
shared code, keep the ops in StandardOps.cpp/h sorted.

This significantly reduces the boilerplate for Add/Mul sorts of ops.  In a subsequent patch, I plan to rename OpBase to Op, but didn't want to clutter this diff.

PiperOrigin-RevId: 214622871
parent 54e5b4b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment