[all-commits] [llvm/llvm-project] 974708: [PowerPC] Split s34imm into two types
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Tue Jul 28 03:56:15 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 97470897c436a6a5d682fb8ab296d0bcdc6e32a4
https://github.com/llvm/llvm-project/commit/97470897c436a6a5d682fb8ab296d0bcdc6e32a4
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.h
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
A llvm/test/MC/PowerPC/ppc64-errors-emit-obj.s
Log Message:
-----------
[PowerPC] Split s34imm into two types
Currently the instruction paddi always takes s34imm as the type for the
34 bit immediate. However, the PC Relative form of the instruction should
not produce the same fixup as the non PC Relative form.
This patch splits the s34imm type into s34imm and s34imm_pcrel so that two
different fixups can be emitted.
Reviewed By: nemanjai, #powerpc, kamaub
Differential Revision: https://reviews.llvm.org/D83255
More information about the All-commits
mailing list