TargetLowering: Fix off-by-one error
authorMatthias Braun <matze@braunis.de>
Tue, 19 Dec 2017 00:05:10 +0000 (00:05 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 19 Dec 2017 00:05:10 +0000 (00:05 +0000)
commita942d6298343594a29dd9925c0cbc0dc2d9a006b
treeb1d610c06cd018ed6658f8234b8df58fdd5cd70e
parentb23a20179a9e8eaf0c3caa796e09d3cdcd94f5d1
TargetLowering: Fix off-by-one error

This problem was present for a while, but somehow asan didn't catch
it before the refactoring in r321036.

llvm-svn: 321043
llvm/include/llvm/CodeGen/TargetLowering.h