aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorBrendon Cahoon <bcahoon@codeaurora.org>2015-04-20 16:03:28 +0000
committerBrendon Cahoon <bcahoon@codeaurora.org>2015-04-20 16:03:28 +0000
commita57cc8bc817f3ff7a48bfd8221562e3cc2a2bc10 (patch)
tree0ceda8d4e9fcdf4f83b4cdd0feb7f10c4ced3932 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent6779075c441b49304ba27d4a7373eaa0babb94f7 (diff)
downloadllvm-a57cc8bc817f3ff7a48bfd8221562e3cc2a2bc10.zip
llvm-a57cc8bc817f3ff7a48bfd8221562e3cc2a2bc10.tar.gz
llvm-a57cc8bc817f3ff7a48bfd8221562e3cc2a2bc10.tar.bz2
Recognize n/1 in the SCEV divide function
n/1 generates a quotient equal to n and a remainder of 0. If this case is not recognized, then the SCEV divide() function can return a remainder that is greater than or equal to the denominator, which means the delinearized subscripts for the test case will be incorrect. Differential Revision: http://reviews.llvm.org/D9003 llvm-svn: 235311
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions