diff options
author | Jay Foad <jay.foad@amd.com> | 2024-01-17 15:59:24 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2024-01-19 13:50:26 +0000 |
commit | 7017efa1a1780e1bb0c2a49a14ac45818ea43338 (patch) | |
tree | c3d63a0d8e7ed4f189f0096c66a1c6aac1e1c010 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 340054e561bc7fa407de5c591d503ad52fbffaff (diff) | |
download | llvm-7017efa1a1780e1bb0c2a49a14ac45818ea43338.zip llvm-7017efa1a1780e1bb0c2a49a14ac45818ea43338.tar.gz llvm-7017efa1a1780e1bb0c2a49a14ac45818ea43338.tar.bz2 |
Fix typo "widended"
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp index 42e7c40..0ed3324 100644 --- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -1753,7 +1753,7 @@ Instruction *WidenIV::widenIVUse(WidenIV::NarrowIVDefUse DU, SCEVExpander &Rewri } // This narrow use can be widened by a sext if it's non-negative or its narrow - // def was widended by a sext. Same for zext. + // def was widened by a sext. Same for zext. auto canWidenBySExt = [&]() { return DU.NeverNegative || getExtendKind(DU.NarrowDef) == ExtendKind::Sign; }; |