Ignore:
Timestamp:
Jul 13, 2015, 2:11:13 PM (4 years ago)
Author:
cameron
Message:

Upgrade LLVM to 3.6.1

Location:
icGREP/icgrep-devel/llvm-3.6.1.src
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/llvm-3.6.1.src/lib/Target/ARM/ARMISelLowering.cpp

    r4574 r4664  
    30933093  for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) {
    30943094    CCValAssign &VA = ArgLocs[i];
    3095     std::advance(CurOrigArg, Ins[VA.getValNo()].OrigArgIndex - CurArgIdx);
    3096     CurArgIdx = Ins[VA.getValNo()].OrigArgIndex;
     3095    if (Ins[VA.getValNo()].isOrigArg()) {
     3096      std::advance(CurOrigArg,
     3097                   Ins[VA.getValNo()].getOrigArgIndex() - CurArgIdx);
     3098      CurArgIdx = Ins[VA.getValNo()].getOrigArgIndex();
     3099    }
    30973100    // Arguments stored in registers.
    30983101    if (VA.isRegLoc()) {
     
    31743177      assert(VA.getValVT() != MVT::i64 && "i64 should already be lowered");
    31753178
    3176       int index = ArgLocs[i].getValNo();
     3179      int index = VA.getValNo();
    31773180
    31783181      // Some Ins[] entries become multiple ArgLoc[] entries.
     
    31873190          // a tail call.
    31883191          if (Flags.isByVal()) {
     3192            assert(Ins[index].isOrigArg() &&
     3193                   "Byval arguments cannot be implicit");
    31893194            unsigned CurByValIndex = CCInfo.getInRegsParamsProcessed();
    31903195
Note: See TracChangeset for help on using the changeset viewer.