diff options
author | Vitaly Buka <vitalybuka@google.com> | 2020-07-30 21:07:10 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2020-07-30 21:08:24 -0700 |
commit | 89051ebacea72733ff7088cf09a760b1be707acf (patch) | |
tree | d6c3c02920f3314f5686c3f715c37dec1fe16fe1 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 9f0225894254c4706519c85d6fc06c5382903fef (diff) | |
download | llvm-89051ebacea72733ff7088cf09a760b1be707acf.zip llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.gz llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.bz2 |
[NFC] GetUnderlyingObject -> getUnderlyingObject
I am going to touch them in the next patch anyway
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index 4336373..d7cd9b1 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -1145,7 +1145,7 @@ static bool isValidRewrite(ScalarEvolution *SE, Value *FromVal, Value *ToVal) { // producing an expression involving multiple pointers. Until then, we must // bail out here. // - // Retrieve the pointer operand of the GEP. Don't use GetUnderlyingObject + // Retrieve the pointer operand of the GEP. Don't use getUnderlyingObject // because it understands lcssa phis while SCEV does not. Value *FromPtr = FromVal; Value *ToPtr = ToVal; @@ -1162,7 +1162,7 @@ static bool isValidRewrite(ScalarEvolution *SE, Value *FromVal, Value *ToVal) { // SCEV may have rewritten an expression that produces the GEP's pointer // operand. That's ok as long as the pointer operand has the same base - // pointer. Unlike GetUnderlyingObject(), getPointerBase() will find the + // pointer. Unlike getUnderlyingObject(), getPointerBase() will find the // base of a recurrence. This handles the case in which SCEV expansion // converts a pointer type recurrence into a nonrecurrent pointer base // indexed by an integer recurrence. |