[PATCH] D89480: [GlobalISel][Legalizer] Implement lower action for G_FSHL/G_FSHR

Konstantin Schwarz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 09:13:05 PDT 2020


kschwarz created this revision.
kschwarz added reviewers: arsenm, foad.
Herald added subscribers: hiraditya, rovka.
Herald added a project: LLVM.
kschwarz requested review of this revision.
Herald added a subscriber: wdng.

This is a 1:1 port from the SelectionDAG code, modulo the recent optimizations for known non-zero shift amounts.
Additionally, no conversion between G_FSHL <-> G_FSHR are done yet.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89480

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89480.298401.patch
Type: text/x-patch
Size: 6076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/a8f304e9/attachment.bin>


More information about the llvm-commits mailing list