fix typo; NFC

llvm-svn: 265442
This commit is contained in:
Sanjay Patel 2016-04-05 19:27:39 +00:00
parent 811da0efbc
commit 4c7d094451
1 changed files with 1 additions and 1 deletions

View File

@ -1171,7 +1171,7 @@ int X86TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) {
int64_t Val = Tmp.getSExtValue(); int64_t Val = Tmp.getSExtValue();
Cost += getIntImmCost(Val); Cost += getIntImmCost(Val);
} }
// We need at least one instruction to materialze the constant. // We need at least one instruction to materialize the constant.
return std::max(1, Cost); return std::max(1, Cost);
} }