aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StreamingMemoryObject.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-06-04 07:44:35 +0000
committerTobias Grosser <tobias@grosser.es>2015-06-04 07:44:35 +0000
commit5cf78607047227d000df187946986c98bd301660 (patch)
tree02b71bc3a41168120800d82c2ae352b20427b260 /llvm/lib/Support/StreamingMemoryObject.cpp
parent74ccd062bdcd5f643b3ac3f974a6ece62c62e0a3 (diff)
downloadllvm-5cf78607047227d000df187946986c98bd301660.zip
llvm-5cf78607047227d000df187946986c98bd301660.tar.gz
llvm-5cf78607047227d000df187946986c98bd301660.tar.bz2
Ensure memory access mappings are defined for full domain
We now verify that memory access functions imported via JSON are indeed defined for the full iteration domain. Before this change we accidentally imported memory mappings such as i -> i / 127, which only defined a mapped for values of i that are evenly divisible by 127, but which did not define any mapping for the remaining values, with the result that isl just generated an access expression that had undefined behavior for all the unmapped values. In the incorrect test cases, we now either use floor(i/127) or we use p/127 and provide the information that p is indeed a multiple of 127. llvm-svn: 239024
Diffstat (limited to 'llvm/lib/Support/StreamingMemoryObject.cpp')
0 files changed, 0 insertions, 0 deletions