diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-07-12 07:15:17 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-07-12 07:15:17 +0000 |
commit | 29fd056d8106c27fb0d9e4602c4d7fbd539219c6 (patch) | |
tree | 449d5a97cd7b845de3caee6f96ce64b1a281678b /lib/Target/IA64 | |
parent | 7ab2eb4a803405e84e96ec00a0010a05b81bb2d7 (diff) |
Remove extra \n from LLVM_UNREACHABLE calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/IA64')
-rw-r--r-- | lib/Target/IA64/IA64ISelLowering.cpp | 4 | ||||
-rw-r--r-- | lib/Target/IA64/IA64InstrInfo.cpp | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp index 094f8c2f99..8e675eba9a 100644 --- a/lib/Target/IA64/IA64ISelLowering.cpp +++ b/lib/Target/IA64/IA64ISelLowering.cpp @@ -194,7 +194,7 @@ void IA64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG, switch (getValueType(I->getType()).getSimpleVT()) { default: - LLVM_UNREACHABLE("ERROR in LowerArgs: can't lower this type of arg.\n"); + LLVM_UNREACHABLE("ERROR in LowerArgs: can't lower this type of arg."); case MVT::f32: // fixme? (well, will need to for weird FP structy stuff, // see intel ABI docs) @@ -493,7 +493,7 @@ IA64TargetLowering::LowerCallTo(SDValue Chain, const Type *RetTy, if (InFlag.getNode()) CallOperands.push_back(InFlag); else - LLVM_UNREACHABLE("this should never happen!\n"); + LLVM_UNREACHABLE("this should never happen!"); // to make way for a hack: Chain = DAG.getNode(IA64ISD::BRCALL, dl, NodeTys, diff --git a/lib/Target/IA64/IA64InstrInfo.cpp b/lib/Target/IA64/IA64InstrInfo.cpp index 0537c3ed01..c76ca325f7 100644 --- a/lib/Target/IA64/IA64InstrInfo.cpp +++ b/lib/Target/IA64/IA64InstrInfo.cpp @@ -129,8 +129,7 @@ void IA64InstrInfo::storeRegToAddr(MachineFunction &MF, unsigned SrcReg, } else if (RC == IA64::PRRegisterClass) { Opc = IA64::ST1; } else { - LLVM_UNREACHABLE( - "sorry, I don't know how to store this sort of reg\n"); + LLVM_UNREACHABLE("sorry, I don't know how to store this sort of reg"); } DebugLoc DL = DebugLoc::getUnknownLoc(); @@ -165,7 +164,7 @@ void IA64InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, .addReg(IA64::r0); } else { LLVM_UNREACHABLE( - "sorry, I don't know how to load this sort of reg from the stack\n"); + "sorry, I don't know how to load this sort of reg from the stack"); } } @@ -182,7 +181,7 @@ void IA64InstrInfo::loadRegFromAddr(MachineFunction &MF, unsigned DestReg, Opc = IA64::LD1; } else { LLVM_UNREACHABLE( - "sorry, I don't know how to load this sort of reg\n"); + "sorry, I don't know how to load this sort of reg"); } DebugLoc DL = DebugLoc::getUnknownLoc(); |