This is an archive of the discontinued LLVM Phabricator instance.

Fix assembler for alloca of multiple elements in non-zero addr space
ClosedPublic

Authored by yaxunl on Oct 9 2017, 8:12 PM.

Details

Summary

Currently llvm assembler emits parsing error for valid IR assembly

alloca i32, i32 9, addrspace(5)

when alloca addr space is 5.

This patch fixes that.

Diff Detail

Event Timeline

yaxunl created this revision.Oct 9 2017, 8:12 PM
yaxunl edited the summary of this revision. (Show Details)Oct 10 2017, 12:46 PM
arsenm accepted this revision.Oct 12 2017, 7:32 PM

LGTM

This revision is now accepted and ready to land.Oct 12 2017, 7:32 PM
This revision was automatically updated to reflect the committed changes.