Page MenuHomePhabricator

[GlobalISel][X86] extend G_ZEXT support.
ClosedPublic

Authored by igorb on Jul 9 2017, 2:38 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

igorb created this revision.Jul 9 2017, 2:38 AM
igorb retitled this revision from [GlobalISel][X86] extend G_ZEXT support 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. to [GlobalISel][X86] extend G_ZEXT support..Jul 9 2017, 2:39 AM
guyblank accepted this revision.Jul 9 2017, 6:31 AM

LGTM

This revision is now accepted and ready to land.Jul 9 2017, 6:31 AM
This revision was automatically updated to reflect the committed changes.