Displaying 2 results from an estimated 2 matches for "isreturnvaluesignextended".
2008 May 27
0
[LLVMdev] Troubling promotion of return value to Integer ...
...atively (and this may be quite a change) to identify sign
information, we can add new SimpleValueTypes (u1, u8, u16, ...) to
signify unsigned values in addition to (i1, i8, i16, ...) which are
signed values.
Then the front-end can define
unsigned char ug(...);
as: declare u8 @ug(...)
where DAG.isReturnValueSignExtended(...) returns false
and
signed char sg(...);
as: declare i8 @sg(...)
where DAG.isReturnValueSignExtended(...) returns true
In both cases DAG.getReturnValueRegisterSizeInBits(...) returns 32 (on a
32 bit architecture)
The caveat here is when we don't have a prototype for callee in which
c...
2008 May 23
3
[LLVMdev] Troubling promotion of return value to Integer ...
On May 20, 2008, at 2:16 PM, <Alireza.Moshtaghi at microchip.com> <Alireza.Moshtaghi at microchip.com
> wrote:
>
>> Ok, I'm not sure what issue you mean. Can you restate?
>
> I'm referring to your statement (below) where you say "there needs
> to be
> some attribute (or something) on foo".
Ok.
> What I don't understand is I
>