From 4c7d094451ad052387170b57fab636d3a4d36038 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Tue, 5 Apr 2016 19:27:39 +0000 Subject: [PATCH] fix typo; NFC llvm-svn: 265442 --- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp index ba977eb70589..1bd1372c5156 100644 --- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp +++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp @@ -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); }