For for this bug report https://llvm.org/bugs/show_bug.cgi?id=27258
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I think Sema::CheckVectorOperands isn't supposed to return a scalar type. Fixing that with http://reviews.llvm.org/D19123 also solves this problem. Richard, WDYT?
Comment Actions
I agree. In the example, the type of y == z should be vec, not int -- we should "promote" to the vector type.