[PATCH] D32115: [GlobalIsel][X86] support G_TRUNC selection.

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 16 00:47:31 PDT 2017


igorb created this revision.
Herald added subscribers: kristof.beyls, dberris.

[GlobalIsel][X86] support G_TRUNC selection. 
Add regbank-select and legalizer tests. Currently legalization of trunc i64 on 32bit platform not supported.


Repository:
  rL LLVM

https://reviews.llvm.org/D32115

Files:
  lib/Target/X86/X86InstructionSelector.cpp
  lib/Target/X86/X86RegisterBankInfo.cpp
  test/CodeGen/X86/GlobalISel/X86-regbankselect.mir
  test/CodeGen/X86/GlobalISel/legalize-trunc.mir
  test/CodeGen/X86/GlobalISel/select-trunc.mir
  test/CodeGen/X86/GlobalISel/trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32115.95395.patch
Type: text/x-patch
Size: 11324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170416/45496a4d/attachment.bin>


More information about the llvm-commits mailing list