[PATCH] D81728: [InstCombine] Add target-specific inst combining

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 03:12:41 PDT 2020


Flakebi created this revision.
Flakebi added reviewers: nhaehnle, majnemer.
Flakebi added projects: LLVM, AMDGPU.
Herald added subscribers: llvm-commits, hiraditya.

Targets can combine intrinsics in
TargetTransformInfo::instCombineIntrinsic.
This allows accessing target specific features and combining
instructions only if the target supports certain features.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81728

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/lib/Transforms/InstCombine/InstCombineInternal.h
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81728.270348.patch
Type: text/x-patch
Size: 10903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200612/5b19b5a9/attachment.bin>


More information about the llvm-commits mailing list