[PATCH] D35177: [GlobalISel][X86] extend G_ZEXT support.

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 9 06:15:11 PDT 2017


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

Mark G_ZEXT/G_SEXT i1 to i8/i16,  i8 to i16 as legal.
Support G_ZEXT i1 to i8/i16 instruction selection ( C++ code).                 
This patch requred to support G_LOAD/G_STORE i1.


https://reviews.llvm.org/D35177

Files:
  lib/Target/X86/X86InstructionSelector.cpp
  lib/Target/X86/X86LegalizerInfo.cpp
  test/CodeGen/X86/GlobalISel/ext.ll
  test/CodeGen/X86/GlobalISel/legalize-ext.mir
  test/CodeGen/X86/GlobalISel/select-ext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35177.105756.patch
Type: text/x-patch
Size: 12056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170709/df906d21/attachment-0001.bin>


More information about the llvm-commits mailing list