[all-commits] [llvm/llvm-project] 040c60: Fix a miscompile introduced by 99203f2.
Richard Smith via All-commits
all-commits at lists.llvm.org
Thu Mar 25 16:54:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 040c60d9b69e2ad570556f255a746929a4b10e82
https://github.com/llvm/llvm-project/commit/040c60d9b69e2ad570556f255a746929a4b10e82
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2021-03-25 (Thu, 25 Mar 2021)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
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.
More information about the All-commits
mailing list