From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: Dibyendu Majumdar <mobile@majumdar.org.uk>
Cc: Linux-Sparse <linux-sparse@vger.kernel.org>
Subject: Re: sparse-llvm failure when comparing pointers
Date: Sun, 19 Mar 2017 16:33:24 +0100 [thread overview]
Message-ID: <20170319153323.drqt23dridw65544@macpro.local> (raw)
In-Reply-To: <CACXZuxc=TMZyi9LPJ6KGfDeNZYBrkZ4gp2p8Z75tbPhKfCnmuw@mail.gmail.com>
On Mon, Mar 13, 2017 at 11:47:04PM +0000, Dibyendu Majumdar wrote:
> Pointer comparions are failing LLVM validation if they are not the
> same type. One way to resolve this is to cast the pointer to integer
> before comparing. I am trying out following approach. In
> output_op_compare(), I separated out the pointer case as follows:
This is fixed in the llvm-fixes-v3 serie I submitted yesterday.
-- Luc
prev parent reply other threads:[~2017-03-19 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 23:47 sparse-llvm failure when comparing pointers Dibyendu Majumdar
2017-03-19 15:33 ` Luc Van Oostenryck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170319153323.drqt23dridw65544@macpro.local \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
--cc=mobile@majumdar.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox