aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-11-21 14:48:38 +0000
committerJay Foad <jay.foad@amd.com>2024-11-21 14:48:38 +0000
commitd6fc7d3ab186fee1c95c00992206e0914cb25f42 (patch)
tree7c17bb0c380112bc596777908f84d54ec2c4fb23 /llvm/lib/Transforms/Utils/Local.cpp
parent95f4aa44ae660c649560fd32868fef14d7925551 (diff)
downloadllvm-d6fc7d3ab186fee1c95c00992206e0914cb25f42.zip
llvm-d6fc7d3ab186fee1c95c00992206e0914cb25f42.tar.gz
llvm-d6fc7d3ab186fee1c95c00992206e0914cb25f42.tar.bz2
Fix typo "intead"
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 42c258a..b74d2e8 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/lib/Transforms/Utils/Local.cpp
@@ -1645,7 +1645,7 @@ static bool valueCoversEntireFragment(Type *ValTy, DbgVariableIntrinsic *DII) {
// We can't always calculate the size of the DI variable (e.g. if it is a
// VLA). Try to use the size of the alloca that the dbg intrinsic describes
- // intead.
+ // instead.
if (DII->isAddressOfVariable()) {
// DII should have exactly 1 location when it is an address.
assert(DII->getNumVariableLocationOps() == 1 &&
@@ -1672,7 +1672,7 @@ static bool valueCoversEntireFragment(Type *ValTy, DbgVariableRecord *DVR) {
// We can't always calculate the size of the DI variable (e.g. if it is a
// VLA). Try to use the size of the alloca that the dbg intrinsic describes
- // intead.
+ // instead.
if (DVR->isAddressOfVariable()) {
// DVR should have exactly 1 location when it is an address.
assert(DVR->getNumVariableLocationOps() == 1 &&