llvm-project/llvm/test/Transforms/StraightLineStrengthReduce
Jingyue Wu 13a80eaceb [SeparateConstOffsetFromGEP] strengthen the inbounds attribute
We used to be over-conservative about preserving inbounds. Actually, the second
GEP (which applies the constant offset) can inherit the inbounds attribute of
the original GEP, because the resultant pointer is equivalent to that of the
original GEP. For example,

  x  = GEP inbounds a, i+5
    =>
  y = GEP a, i               // inbounds removed
  x = GEP inbounds y, 5      // inbounds preserved

llvm-svn: 244937
2015-08-13 18:48:49 +00:00
..
AMDGPU [SeparateConstOffsetFromGEP] strengthen the inbounds attribute 2015-08-13 18:48:49 +00:00
NVPTX [NVPTX] enable SpeculativeExecution in NVPTX 2015-07-16 20:13:48 +00:00
X86 [SLSR] garbage-collect unused instructions 2015-04-21 19:56:18 +00:00
slsr-add.ll [SLSR] garbage-collect unused instructions 2015-04-21 19:56:18 +00:00
slsr-gep.ll [SLSR] garbage-collect unused instructions 2015-04-21 19:56:18 +00:00
slsr-mul.ll [SLSR] handle (B | i) * S 2015-05-15 17:07:48 +00:00