linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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 the LLVM IR for select instruction fails due to different types
Date: Sun, 19 Mar 2017 01:21:46 +0100	[thread overview]
Message-ID: <20170319002145.4x3amj6bnb36yocj@macbook.local> (raw)
In-Reply-To: <CACXZuxcGKmEbv=Umh26U=Uermy+n1f2A9_ZmBYJHE15WBYPFrw@mail.gmail.com>

On Tue, Mar 14, 2017 at 04:07:40PM +0000, Dibyendu Majumdar wrote:
> Hi,
> 
> LLVM complains when the operands of a select are not the same type. I
> think it is okay to cast one of the operands to the type of the other
> - on the basis that subsequent operations will cast things anyway.

Submit a test case, please.

-- Luc 

  reply	other threads:[~2017-03-19  0:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 16:07 sparse-llvm the LLVM IR for select instruction fails due to different types Dibyendu Majumdar
2017-03-19  0:21 ` Luc Van Oostenryck [this message]
2017-03-19 13:04   ` Dibyendu Majumdar
2017-03-19 15:18     ` Luc Van Oostenryck

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=20170319002145.4x3amj6bnb36yocj@macbook.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;
as well as URLs for NNTP newsgroup(s).