fix typo; NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2016-04-05 19:27:39 +00:00
parent ec856b3cc7
commit ace0cc82e4

View File

@ -1171,7 +1171,7 @@ int X86TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) {
int64_t Val = Tmp.getSExtValue();
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);
}