OSDN Git Service

[IRCE] Return a Value*, not SCEV* from parseRangeCheck; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 24 May 2016 17:19:56 +0000 (17:19 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 24 May 2016 17:19:56 +0000 (17:19 +0000)
commitc6ed2a486f1f9e00cf293d19b21873537e2f7d29
tree5ca68ae73ff407d40b00cd4c42a414fc5de5e970
parent8de4c9c00b84c6befa37880d6274face2e6f5a0e
[IRCE] Return a Value*, not SCEV* from parseRangeCheck; NFC

This is better layering, since the caller needs to check if the index
was an add-rec anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp