[llvm-commits] [PATCH] Add a !mul operator

Sean Silva silvas at purdue.edu
Tue Jan 15 20:29:08 PST 2013


On Tue, Jan 15, 2013 at 11:02 PM,  <greened at obbligato.org> wrote:
> I'm about to send a set of patches that implement a simple memory model
> for LLVM targets.  One of the things you would like to do with such a
> model is specify sizes.  Since these sizes tend to be multiples of
> powers of 2, it's more readable to talk about  12 * 1M, for example
> rather than 12582912.

`!mul(12, 1M)` isn't particularly readable either.

-- Sean Silva



More information about the llvm-commits mailing list