diff options
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); |
