[PATCH] D57405: Revert "OpenCL: Extend argument promotion rules to vector types"
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 29 11:24:01 PST 2019
arsenm created this revision.
arsenm added reviewers: rjmccall, Anastasia.
Herald added subscribers: yaxunl, wdng.
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.
https://reviews.llvm.org/D57405
Files:
lib/Headers/opencl-c.h
lib/Sema/SemaExpr.cpp
test/CodeGenOpenCL/printf.cl
test/SemaOpenCL/printf-format-string-warnings.cl
test/SemaOpenCL/printf-format-strings.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57405.184134.patch
Type: text/x-patch
Size: 6735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190129/51600471/attachment.bin>
More information about the cfe-commits
mailing list