[PATCH] D46414: [GlobalISel][Legalizer] More concise and faster widenScalar, NFC

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 14:50:11 PDT 2018


rtereshin updated this revision to Diff 145301.
rtereshin added a comment.

I have simplified `widenScalar{Src,Dst}` methods a bit by using a tad more high-level `MachineIRBuilder` methods.


Repository:
  rL LLVM

https://reviews.llvm.org/D46414

Files:
  include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  include/llvm/CodeGen/MachineOperand.h
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  test/CodeGen/AArch64/GlobalISel/legalize-phi.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46414.145301.patch
Type: text/x-patch
Size: 25124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/38bc4800/attachment.bin>


More information about the llvm-commits mailing list