This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][X86] Support G_LOAD/G_STORE i1.
ClosedPublic

Authored by igorb on Jul 9 2017, 4:20 AM.

Event Timeline

igorb created this revision.Jul 9 2017, 4:20 AM
guyblank added inline comments.Jul 10 2017, 12:32 AM
test/CodeGen/X86/GlobalISel/memop-scalar-x32.ll
7

should there be an AND here for the truncation to i1?

igorb added inline comments.Jul 10 2017, 12:39 AM
test/CodeGen/X86/GlobalISel/memop-scalar-x32.ll
7

No, truncate only drop the bits.
for reference DagISEL generate the same code

guyblank accepted this revision.Jul 10 2017, 1:33 AM
This revision is now accepted and ready to land.Jul 10 2017, 1:33 AM
This revision was automatically updated to reflect the committed changes.