[PATCH] D25812: X86: Introduce the "relocImm" ComplexPattern, which represents a relocatable immediate.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 19:50:46 PDT 2016


pcc created this revision.
pcc added reviewers: lattner, chandlerc.
pcc added a subscriber: llvm-commits.

A relocatable immediate is either an immediate operand or an operand that
can be relocated by the linker to an immediate, such as a regular symbol
in non-PIC code.

Start using relocImm for 32-bit and 64-bit MOV instructions, and for operands
of type "imm32_su". Remove a number of now-redundant patterns.


https://reviews.llvm.org/D25812

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/lib/Target/X86/X86InstrCompiler.td
  llvm/lib/Target/X86/X86InstrInfo.td
  llvm/utils/TableGen/CodeGenDAGPatterns.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25812.75264.patch
Type: text/x-patch
Size: 7682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161020/ea5cae79/attachment.bin>


More information about the llvm-commits mailing list