Add a new MachineJumpTableInfo entry type, EK_GPRel64BlockAddress, which is
authorAkira Hatanaka <ahatanaka@mips.com>
Fri, 3 Feb 2012 04:33:00 +0000 (04:33 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Fri, 3 Feb 2012 04:33:00 +0000 (04:33 +0000)
commit6c2cf8b1fbcf70fd9db6fe44032c1ceaa2299760
treea4ccd8fe12fbd58b2ca6fb64601acc7d41d71f38
parentaab219110994cc4d848fae5f50166a2f70ccc812
Add a new MachineJumpTableInfo entry type, EK_GPRel64BlockAddress, which is
needed to emit a 64-bit gp-relative relocation entry. Make changes necessary
for emitting jump tables which have entries with directive .gpdword. This patch
does not implement the parts needed for direct object emission or JIT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149668 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/CodeGen/MachineJumpTableInfo.h
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCStreamer.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/MachineFunction.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCStreamer.cpp
lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsInstrInfo.cpp
test/CodeGen/Mips/2010-07-20-Switch.ll