This is an archive of the discontinued LLVM Phabricator instance.

InferAddressSpaces: Handle select
ClosedPublic

Authored by arsenm on Jan 27 2017, 6:18 PM.

Details

Summary

This fails to handle some cases where one of the inputs is
a constant to be fixed in a later commit.

Diff Detail

Event Timeline

arsenm created this revision.Jan 27 2017, 6:18 PM
jlebar added inline comments.Jan 31 2017, 10:59 AM
lib/Transforms/Scalar/InferAddressSpaces.cpp
419

It would be cool to retain I's name. But I guess we don't do this anywhere else, so we should do it separately.

jlebar accepted this revision.Jan 31 2017, 10:59 AM
This revision is now accepted and ready to land.Jan 31 2017, 10:59 AM
arsenm closed this revision.Jan 31 2017, 4:20 PM

r293723