All of lore.kernel.org
 help / color / mirror / Atom feed
* sparse-llvm when generating code for op_muls, op_divs first argument may be a pointer
@ 2017-03-14 13:14 Dibyendu Majumdar
  2017-03-19 15:27 ` Luc Van Oostenryck
  0 siblings, 1 reply; 2+ messages in thread
From: Dibyendu Majumdar @ 2017-03-14 13:14 UTC (permalink / raw)
  To: Linux-Sparse

Sparse-llvm currently generates incorrect code for op_muls and op_divs
when the first argument is a pointer. In this case the pointer should
be converted to integer before multiplying or dividing.

Thanks and Regards
Dibyendu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sparse-llvm when generating code for op_muls, op_divs first argument may be a pointer
  2017-03-14 13:14 sparse-llvm when generating code for op_muls, op_divs first argument may be a pointer Dibyendu Majumdar
@ 2017-03-19 15:27 ` Luc Van Oostenryck
  0 siblings, 0 replies; 2+ messages in thread
From: Luc Van Oostenryck @ 2017-03-19 15:27 UTC (permalink / raw)
  To: Dibyendu Majumdar; +Cc: Linux-Sparse

On Tue, Mar 14, 2017 at 01:14:20PM +0000, Dibyendu Majumdar wrote:
> Sparse-llvm currently generates incorrect code for op_muls and op_divs
> when the first argument is a pointer. In this case the pointer should
> be converted to integer before multiplying or dividing.

This is fixed in the llvm-fixes-v3 serie I submitted yesterday.

-- Luc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-19 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 13:14 sparse-llvm when generating code for op_muls, op_divs first argument may be a pointer Dibyendu Majumdar
2017-03-19 15:27 ` Luc Van Oostenryck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.