summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/simple_loop_unsigned.ll
Commit message (Collapse)AuthorAgeFilesLines
* Update isl to isl-0.18-1047-g4a20ef8Tobias Grosser2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | This update: - Removes several deprecated functions (e.g., isl_band). - Improves the pretty-printing of sets by detecting modulos and "false" equalities. - Minor improvements to coalescing and increased robustness of the isl scheduler. This update does not yet include isl commit isl-0.18-90-gd00cb45 (isl_pw_*_alloc: add missing check for compatible spaces, Wed Sep 6 12:18:04 2017 +0200), as this additional check is too tight and unfortunately causes two test case failures in Polly. A patch has been submitted to isl and will be included in the next isl update for Polly. llvm-svn: 325557
* [ScopInfo] Add support for wrap-around of integers in unsigned comparisons.Michael Kruse2017-07-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is one possible solution to implement wrap-arounds for integers in unsigned icmp operations. For example, store i32 -1, i32* %A_addr %0 = load i32, i32* %A_addr %1 = icmp ult i32 %0, 0 %1 should hold false, because under the assumption of unsigned integers, -1 should wrap around to 2^32-1. However, previously. it was assumed that the MSB (Most Significant Bit - aka the Sign bit) was never set for integers in unsigned operations. This patch modifies the buildConditionSets function in ScopInfo.cpp to give better information about the integers in these unsigned comparisons. Contributed-by: Annanay Agarwal <cs14btech11001@iith.ac.in> Differential Revision: https://reviews.llvm.org/D35464 llvm-svn: 308608
* [FIX] Correct assumption simplificationJohannes Doerfert2016-04-281-1/+3
| | | | | | | | Assumptions and restrictions can both be simplified with the domain of a statement but not the same way. After this patch we will correctly distinguish them. llvm-svn: 267885
* Allow unsigned comparisonsJohannes Doerfert2016-04-261-0/+32
With this patch we will optimistically assume that the result of an unsigned comparison is the same as the result of the same comparison interpreted as signed. llvm-svn: 267559
OpenPOWER on IntegriCloud