[llvm-commits] [llvm] r76215 - /llvm/trunk/include/llvm/Value.h
gohman at apple.com
Tue Jul 21 19:09:04 CDT 2009
On Jul 18, 2009, at 1:06 PM, Duncan Sands wrote:
> Hi Dan,
>> This optional data is information like "signed overflow is
> why is this set up as optional data? Shouldn't it be a full blown
> on the operation, analogous to a parameter attribute?
The design idea here is that these are flags which are not necessary for
correctness. A "signed add" is not a different operation from an "add";
it's just an "add" with some value-range information that the optimizer
may find useful.
More information about the llvm-commits