Added initial CHERI changes.
Added initial CHERI changes
Merge branch 'master' of http://llvm.org/git/llvm

Conflicts:
	include/llvm/CodeGen/ValueTypes.h
	lib/Target/Mips/MipsInstrInfo.cpp
	lib/Target/Mips/MipsSubtarget.h
	lib/Target/Mips/MipsTargetMachine.cpp
	lib/Target/Mips/MipsTargetMachine.h
Fix mismatch between ValueTypes.h and ValueTypes.td
Fix stack spills of capabilities and 64<->32 bit register copies.
Merge branch 'master' of http://llvm.org/git/llvm

Conflicts:
	include/llvm/CodeGen/ISDOpcodes.h
	lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
	lib/Target/Mips/MipsSubtarget.cpp
	lib/Target/Mips/MipsSubtarget.h
Add support for inline assembly for CHERI instructions.
Fix a bug with linkage when compiled with clang.

Add omitted return statement that was breaking stack loads of
capabilities.
Merge branch 'master' of http://llvm.org/git/llvm

Conflicts:
	include/llvm/CodeGen/ValueTypes.h
Update to v2 opcodes.
Ensure that the stack is 256-bit aligned.
Merge branch 'master' of http://llvm.org/git/llvm

Conflicts:
	include/llvm/ADT/Triple.h
	include/llvm/CallingConv.h
	lib/Support/Triple.cpp
	lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
	lib/Target/Mips/MipsISelLowering.cpp
	lib/Target/Mips/MipsISelLowering.h
	lib/Target/Mips/MipsInstrInfo.td
	lib/Target/Mips/MipsRegisterInfo.td
	lib/Target/Mips/MipsSubtarget.cpp
	lib/Target/Mips/MipsSubtarget.h
Fix the behaviour of the set / get register intrinsics.
Fix some corner cases with reordering.
Fix get_cap_reg intrinsic to generate the correct format CIncBase
instruction.

Small syntactic cleanup in MipsSEInstrInfo.cpp
Merge branch 'master' of http://llvm.org/git/llvm

Lots of quick hacks to handle pointers in different address spaces
removed.

Conflicts:
	include/llvm/DataLayout.h
	lib/CodeGen/SelectionDAG/TargetLowering.cpp
	lib/Target/Mips/AsmParser/MipsAsmParser.cpp
	lib/Transforms/Utils/Local.cpp
	lib/VMCore/DataLayout.cpp
Merge branch 'master' of http://llvm.org/git/llvm
Don't set the length of array capabilities to the size of the first
element...
Don't do the wrong thing for globals either...
Tweaked the automatic range checker to work with memory allocated with
malloc() and friends.