[PATCH] D115419: [PowerPC] Allow absolute expressions in relocations

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 15:36:05 PST 2022


nemanjai updated this revision to Diff 400168.
nemanjai added a comment.

Fold the logic for immediate operands into one function. Simplify the test case and remove some unnecessary casts.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115419/new/

https://reviews.llvm.org/D115419

Files:
  llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
  llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/test/MC/PowerPC/ppc64-abs-reloc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115419.400168.patch
Type: text/x-patch
Size: 8421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/2f29444f/attachment.bin>


More information about the llvm-commits mailing list