summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/StackMaps.h2
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/StackMaps.h b/llvm/include/llvm/CodeGen/StackMaps.h
index 2b5a4327908..2e50689bb57 100644
--- a/llvm/include/llvm/CodeGen/StackMaps.h
+++ b/llvm/include/llvm/CodeGen/StackMaps.h
@@ -24,7 +24,7 @@ class MCStreamer;
/// \brief MI-level stackmap operands.
///
-/// MI slackmap operations take the form:
+/// MI stackmap operations take the form:
/// <id>, <numBytes>, live args...
class StackMapOpers {
public:
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 3b1006fc35b..e89fc4d0b9c 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -73,7 +73,7 @@ unsigned AArch64InstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
return 16;
}
- llvm_unreachable("getInstSizeInBytes()- Unable to determin insn size");
+ llvm_unreachable("getInstSizeInBytes()- Unable to determine insn size");
}
static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target,
OpenPOWER on IntegriCloud