mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
It's "necessary" to spell "necessarily" correctly.
llvm-svn: 5833
This commit is contained in:
parent
b315dbe98a
commit
c06beb4c03
@ -1209,7 +1209,7 @@ void ISel::EmitByteSwap(unsigned DestReg, unsigned SrcReg, unsigned Class) {
|
||||
// Emit the byte swap instruction...
|
||||
switch (Class) {
|
||||
case cByte:
|
||||
// No byteswap neccesary for 8 bit value...
|
||||
// No byteswap necessary for 8 bit value...
|
||||
BuildMI(BB, X86::MOVrr8, 1, DestReg).addReg(SrcReg);
|
||||
break;
|
||||
case cInt:
|
||||
@ -1219,7 +1219,7 @@ void ISel::EmitByteSwap(unsigned DestReg, unsigned SrcReg, unsigned Class) {
|
||||
|
||||
case cShort:
|
||||
// For 16 bit we have to use an xchg instruction, because there is no
|
||||
// 16-bit bswap. XCHG is neccesarily not in SSA form, so we force things
|
||||
// 16-bit bswap. XCHG is necessarily not in SSA form, so we force things
|
||||
// into AX to do the xchg.
|
||||
//
|
||||
BuildMI(BB, X86::MOVrr16, 1, X86::AX).addReg(SrcReg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user