[PATCH] D66203: [MIPS GlobalISel] Consider type1 when legalizing shifts after r351882

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 14 01:52:17 PDT 2019


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.

r351882 allows different type for shift amount then result and value
being shifted. Fix MIPS Legalizer rules to take r351882 into account.


Repository:
  rL LLVM

https://reviews.llvm.org/D66203

Files:
  lib/Target/Mips/MipsLegalizerInfo.cpp
  test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66203.215053.patch
Type: text/x-patch
Size: 4276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190814/a887e648/attachment.bin>


More information about the llvm-commits mailing list