summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/printf.cl
Commit message (Collapse)AuthorAgeFilesLines
* Revert "OpenCL: Extend argument promotion rules to vector types"Matt Arsenault2019-01-291-11/+9
| | | | | | | | | | | | 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. llvm-svn: 352539
* OpenCL: Extend argument promotion rules to vector typesMatt Arsenault2018-12-011-0/+39
The spec is ambiguous on whether vector types are allowed to be implicitly converted. The only legal context I think this can be used for OpenCL is printf, where it seems necessary. llvm-svn: 348083
OpenPOWER on IntegriCloud