[PATCH] D100416: [TargetLowering] move "o" and "X" constraint handling to base class

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 13 15:27:54 PDT 2021


nickdesaulniers created this revision.
nickdesaulniers added reviewers: echristo, arsenm, craig.topper.
Herald added subscribers: pengfei, jrtc27, fedor.sergeev, kbarton, hiraditya, nemanjai, jyknight.
nickdesaulniers requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

These constraints are machine agnostic; there's no reason to handle
these per-arch. If arches don't support these constraints, then they
will fail elsewhere during instruction selection. We don't need virtual
calls to look these up; TargetLowering::getInlineAsmMemConstraint should
only be overridden by architectures with additional unique memory
constraints.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100416

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/Hexagon/HexagonISelLowering.h
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/Sparc/SparcISelLowering.h
  llvm/lib/Target/X86/X86ISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100416.337272.patch
Type: text/x-patch
Size: 4643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210413/5c7081d9/attachment.bin>


More information about the llvm-commits mailing list