Re: [PATCH 1/2] sparse, llvm: improve pointer arithmetic handling

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

 



On Sun, May 19, 2013 at 3:13 PM, Xi Wang <xi.wang@xxxxxxxxx> wrote:
> Converting pointers to integers for pointer arithmetic effectively
> disables pointer analysis and future optimizations.  A better way is to
> use LLVM's GEP, by converting pointers to `char *' rather than integers.
>
> Cc: Pekka Enberg <penberg@xxxxxxxxxx>
> Acked-by: Jonathan Neuschäfer <j.neuschaefer@xxxxxxx>
> Signed-off-by: Xi Wang <xi.wang@xxxxxxxxx>

Applied both patches, thanks a lot Xi!
--
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