This is an archive of the discontinued LLVM Phabricator instance.

Revert "OpenCL: Extend argument promotion rules to vector types"
ClosedPublic

Authored by arsenm on Jan 29 2019, 11:23 AM.

Details

Summary

This reverts r348083. This was based on a misreading of the spec
for printf specifiers.

Also revert r343653, as without a subsequent patch, a correctly
specified format for a vector will incorrectly warn.

Fixes bug 40491.

Diff Detail

Event Timeline

arsenm created this revision.Jan 29 2019, 11:23 AM
rjmccall accepted this revision.Jan 29 2019, 12:27 PM

Thanks, LGTM.

This revision is now accepted and ready to land.Jan 29 2019, 12:27 PM
arsenm closed this revision.Jan 29 2019, 12:49 PM

r352539