aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BranchProbability.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-06-15 09:15:52 +0000
committerNikita Popov <nikita.ppv@gmail.com>2019-06-15 09:15:52 +0000
commit8550fb386a367f15987019f7fa00c843dfde6a97 (patch)
tree818923c9cccf190a5c0c31538b796690e3e6d1c0 /llvm/lib/Support/BranchProbability.cpp
parent9145562b4879b34ae5c21af27be4162484f9602e (diff)
downloadllvm-8550fb386a367f15987019f7fa00c843dfde6a97.zip
llvm-8550fb386a367f15987019f7fa00c843dfde6a97.tar.gz
llvm-8550fb386a367f15987019f7fa00c843dfde6a97.tar.bz2
[SCEV] Use unsigned/signed intersection type in SCEV
Based on D59959, this switches SCEV to use unsigned/signed range intersection based on the sign hint. This will prefer non-wrapping ranges in the relevant domain. I've left the one intersection in getRangeForAffineAR() to use the smallest intersection heuristic, as there doesn't seem to be any obvious preference there. Differential Revision: https://reviews.llvm.org/D60035 llvm-svn: 363490
Diffstat (limited to 'llvm/lib/Support/BranchProbability.cpp')
0 files changed, 0 insertions, 0 deletions