aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2021-03-25 16:51:56 -0700
committerRichard Smith <richard@metafoo.co.uk>2021-03-25 16:53:58 -0700
commit040c60d9b69e2ad570556f255a746929a4b10e82 (patch)
tree4a7211c516b6c4ca0478dad320dd35de10d18aeb /llvm/lib/CodeGen/MachineVerifier.cpp
parentcf62b6d3b223a1125576eb24c3c14c7d587941d1 (diff)
downloadllvm-040c60d9b69e2ad570556f255a746929a4b10e82.zip
llvm-040c60d9b69e2ad570556f255a746929a4b10e82.tar.gz
llvm-040c60d9b69e2ad570556f255a746929a4b10e82.tar.bz2
Fix a miscompile introduced by 99203f2.
getPointersDiff would previously round down the difference between two pointers to a multiple of the element size of the pointee, which could result in a pointer value being decreased a little. Alexey Bataev has graciously agreed to add a testcase for this; submitting the bugfix now to unblock.
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions