search for: cw_memory

Displaying 1 result from an estimated 1 matches for "cw_memory".

Did you mean: c_memory
2013 Feb 28
0
[LLVMdev] [cfe-dev] [MIPS] How can I add a constraint to LLVM/Clang for MIPS BE?
...Lowering::getConstraintType(Constraint); @@ -3928,6 +3930,9 @@ MipsTargetLowering::getSingleConstraintMatchWeight( if (isa<ConstantInt>(CallOperandVal)) weight = CW_Constant; break; + case 'R': // An address that can be used in a non-macro load or store + weight = CW_Memory; + break; } return weight; } Clang-diff: diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 70ea235..26fc663 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -462,6 +462,7 @@ bool TargetInfo::validateInputConstraint(ConstraintInfo *OutputConstra...