aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-diff/DifferenceEngine.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-23 22:10:33 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-23 22:10:33 +0000
commit11ebe3d7c11521b2f092165ac712c9ea0f4c462f (patch)
tree725380469e5932480e39ca0238e73238ff2b3031 /tools/llvm-diff/DifferenceEngine.h
parent1f24002ed42fb93662674b3bec36b0d66d9635ee (diff)
Also match negative offsets for addrmode3 and addrmode5.
Math is hard, and isScaledConstantInRange() always returned false for negative constants. It was doing unsigned division of negative numbers before casting back to signed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff/DifferenceEngine.h')
0 files changed, 0 insertions, 0 deletions