diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-03-03 08:45:36 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-17 10:04:37 +0100 |
| commit | 2d002eb75bfb092f6fed3ba600adfa8e7c13128c (patch) | |
| tree | a79f97860dffba13312d0027c1556f56cdc21cad /gvpr | |
| parent | accf7112191ba29f0366c8a10332a8a63644db50 (diff) | |
| download | sparse-dev-2d002eb75bfb092f6fed3ba600adfa8e7c13128c.tar.gz | |
llvm: give correct type to binops
Pointer arithmetic and/or simplification can mixup pointer
and integer types.
Fix this by adding casts before all non-floating point binops
and adjust the result type if needed to match the instructio.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'gvpr')
0 files changed, 0 insertions, 0 deletions
