diff options
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | 18 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 10 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrFragmentsSIMD.td | 4 | 
3 files changed, 16 insertions, 16 deletions
diff --git a/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp b/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp index d58e36c8038..4bbfe95eb43 100644 --- a/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp +++ b/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp @@ -356,15 +356,15 @@ static void translateImmediate(MCInst &mcInst, uint64_t immediate,        // Special case those X86 instructions that use the imm8 as a set of        // bits, bit count, etc. and are not sign-extend.        if (Opcode != X86::BLENDPSrri && Opcode != X86::BLENDPDrri && -	  Opcode != X86::PBLENDWrri && Opcode != X86::MPSADBWrri && -	  Opcode != X86::DPPSrri && Opcode != X86::DPPDrri && -	  Opcode != X86::INSERTPSrr && Opcode != X86::VBLENDPSYrri && -	  Opcode != X86::VBLENDPSYrmi && Opcode != X86::VBLENDPDYrri && -	  Opcode != X86::VBLENDPDYrmi && Opcode != X86::VPBLENDWrri && -	  Opcode != X86::VMPSADBWrri && Opcode != X86::VDPPSYrri && -	  Opcode != X86::VDPPSYrmi && Opcode != X86::VDPPDrri && -	  Opcode != X86::VINSERTPSrr) -	type = TYPE_MOFFS8; +          Opcode != X86::PBLENDWrri && Opcode != X86::MPSADBWrri && +          Opcode != X86::DPPSrri && Opcode != X86::DPPDrri && +          Opcode != X86::INSERTPSrr && Opcode != X86::VBLENDPSYrri && +          Opcode != X86::VBLENDPSYrmi && Opcode != X86::VBLENDPDYrri && +          Opcode != X86::VBLENDPDYrmi && Opcode != X86::VPBLENDWrri && +          Opcode != X86::VMPSADBWrri && Opcode != X86::VDPPSYrri && +          Opcode != X86::VDPPSYrmi && Opcode != X86::VDPPDrri && +          Opcode != X86::VINSERTPSrr) +        type = TYPE_MOFFS8;        break;      case ENCODING_IW:        type = TYPE_MOFFS16; diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index d82b40d69fb..461750ef15a 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -743,7 +743,7 @@ bool X86FastISel::X86SelectRet(const Instruction *I) {      // Analyze operands of the call, assigning locations to each operand.      SmallVector<CCValAssign, 16> ValLocs;      CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs, -		   I->getContext()); +                   I->getContext());      CCInfo.AnalyzeReturn(Outs, RetCC_X86);      const Value *RV = Ret->getOperand(0); @@ -1552,8 +1552,8 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {    GetReturnInfo(I->getType(), CS.getAttributes().getRetAttributes(),                  Outs, TLI);    bool CanLowerReturn = TLI.CanLowerReturn(CS.getCallingConv(), -					   *FuncInfo.MF, FTy->isVarArg(), -					   Outs, FTy->getContext()); +                                           *FuncInfo.MF, FTy->isVarArg(), +                                           Outs, FTy->getContext());    if (!CanLowerReturn)      return false; @@ -1667,7 +1667,7 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {    // Analyze operands of the call, assigning locations to each operand.    SmallVector<CCValAssign, 16> ArgLocs;    CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, ArgLocs, -		 I->getParent()->getContext()); +                 I->getParent()->getContext());    // Allocate shadow area for Win64    if (Subtarget->isTargetWin64()) @@ -1898,7 +1898,7 @@ bool X86FastISel::DoSelectCall(const Instruction *I, const char *MemIntName) {    SmallVector<unsigned, 4> UsedRegs;    SmallVector<CCValAssign, 16> RVLocs;    CCState CCRetInfo(CC, false, *FuncInfo.MF, TM, RVLocs, -		    I->getParent()->getContext()); +                    I->getParent()->getContext());    unsigned ResultReg = FuncInfo.CreateRegs(I->getType());    CCRetInfo.AnalyzeCallResult(Ins, RetCC_X86);    for (unsigned i = 0; i != RVLocs.size(); ++i) { diff --git a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td index 18f5e4489e3..ec030dd5467 100644 --- a/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td +++ b/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td @@ -302,7 +302,7 @@ def nontemporalstore : PatFrag<(ops node:$val, node:$ptr),  }]>;  def alignednontemporalstore : PatFrag<(ops node:$val, node:$ptr), -			           (st node:$val, node:$ptr), [{ +                                    (st node:$val, node:$ptr), [{    if (StoreSDNode *ST = dyn_cast<StoreSDNode>(N))      return ST->isNonTemporal() && !ST->isTruncatingStore() &&             ST->getAddressingMode() == ISD::UNINDEXED && @@ -311,7 +311,7 @@ def alignednontemporalstore : PatFrag<(ops node:$val, node:$ptr),  }]>;  def unalignednontemporalstore : PatFrag<(ops node:$val, node:$ptr), -			           (st node:$val, node:$ptr), [{ +                                      (st node:$val, node:$ptr), [{    if (StoreSDNode *ST = dyn_cast<StoreSDNode>(N))      return ST->isNonTemporal() &&             ST->getAlignment() < 16;  | 

