@l and friends adjust their value depending the context used in.
authorJoerg Sonnenberger <joerg@bec.de>
Sun, 10 Aug 2014 12:41:50 +0000 (12:41 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Sun, 10 Aug 2014 12:41:50 +0000 (12:41 +0000)
commit4417c25b03b2b8a4e29507117823c557027976b3
tree7e72371154c070757f3275ef611e06a85385cdfb
parent901a1b88853832b76878ba1be4d3c945dfd58b66
@l and friends adjust their value depending the context used in.
For ori, they are unsigned, for addi, signed. Create a new target
expression type to handle this and evaluate Fixups accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215315 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h
lib/Target/PowerPC/PPCInstrInfo.td
test/MC/PowerPC/ppc64-fixup-apply.s
test/MC/PowerPC/ppc64-fixups.s