summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 01:52:21 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 01:52:21 +0000
commitbeaca19c7cd18df3df2ffb8fdeb216f262b807b8 (patch)
tree86630b2f0272f2f4dd12988e69d9fe8d9e1b339b /llvm/lib/Target/ARM64
parentc3f36af8d0bf287450f54f51ba73a5882689f839 (diff)
downloadbcm5719-llvm-beaca19c7cd18df3df2ffb8fdeb216f262b807b8.tar.gz
bcm5719-llvm-beaca19c7cd18df3df2ffb8fdeb216f262b807b8.zip
Fix typos
llvm-svn: 208839
Diffstat (limited to 'llvm/lib/Target/ARM64')
-rw-r--r--llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp b/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
index 304bc561a97..678d0a63ce7 100644
--- a/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
+++ b/llvm/lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
@@ -163,7 +163,7 @@ void ARM64InstPrinter::printInst(const MCInst *MI, raw_ostream &O,
return;
}
- // Otherwise SBFX/UBFX is the prefered form
+ // Otherwise SBFX/UBFX is the preferred form
O << '\t' << (IsSigned ? "sbfx" : "ubfx") << '\t'
<< getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op1.getReg())
<< ", #" << Op2.getImm() << ", #" << Op3.getImm() - Op2.getImm() + 1;
@@ -190,7 +190,7 @@ void ARM64InstPrinter::printInst(const MCInst *MI, raw_ostream &O,
int LSB = ImmR;
int Width = ImmS - ImmR + 1;
- // Otherwise BFXIL the prefered form
+ // Otherwise BFXIL the preferred form
O << "\tbfxil\t"
<< getRegisterName(Op0.getReg()) << ", " << getRegisterName(Op2.getReg())
<< ", #" << LSB << ", #" << Width;
OpenPOWER on IntegriCloud