Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "OpenCL: Extend argument promotion rules to vector types" | Matt Arsenault | 2019-01-29 | 1 | -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 types | Matt Arsenault | 2018-12-01 | 1 | -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 |