Re: [PATCH 3/5] IR: remove never-generated instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14 February 2018 at 01:08, Luc Van Oostenryck
<luc.vanoostenryck@xxxxxxxxx> wrote:
> Some of the IR instructions have been defined but are
> never generated.
>
> -### Unused ops
> -#### OP_VANEXT
> -#### OP_VAARG
> -#### OP_MALLOC
> -#### OP_FREE
> -#### OP_ALLOCA
> -#### OP_GET_ELEMENT_PTR
> -#### OP_INVOKE
> -#### OP_UNWIND

Hi Luc, I would argue for not removing some of these instructions.

The VA instructions are definitely needed as today Sparse backend code
generators cannot handle var args because no instructions are
generated.
Similarly alloca should perhaps be emitted to indicate stack
allocations - this would make the stack usage explicit.

Thanks and Regards
Dibyendu
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux