diff options
| author | c8ef <c8ef@outlook.com> | 2024-07-14 19:28:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-14 13:28:11 +0200 |
| commit | 3f222f3bc65ca5acaa0c00d61ae132d10bf79282 (patch) | |
| tree | a246e3cbd866b45b15dfe9831d9059b47af75456 /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
| parent | c8dc21d77fc82d9360953100aa328a13185f8ba0 (diff) | |
| download | llvm-3f222f3bc65ca5acaa0c00d61ae132d10bf79282.zip llvm-3f222f3bc65ca5acaa0c00d61ae132d10bf79282.tar.gz llvm-3f222f3bc65ca5acaa0c00d61ae132d10bf79282.tar.bz2 | |
[NFC] Fix some typos (#98791)
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LowerSwitch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index 55f3544..b5c4e93 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp @@ -369,7 +369,7 @@ void ProcessSwitchInst(SwitchInst *SI, const unsigned NumSimpleCases = Clusterify(Cases, SI); IntegerType *IT = cast<IntegerType>(SI->getCondition()->getType()); const unsigned BitWidth = IT->getBitWidth(); - // Explictly use higher precision to prevent unsigned overflow where + // Explicitly use higher precision to prevent unsigned overflow where // `UnsignedMax - 0 + 1 == 0` APInt UnsignedZero(BitWidth + 1, 0); APInt UnsignedMax = APInt::getMaxValue(BitWidth); |
