[PATCH] D24669: {Sema] Gcc compatibility of vector shift.

Vladimir Yakovlev via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 21 11:17:36 PDT 2016


vbyakovlcl added a comment.

Clang 3.8 balances vector shift operand erroneous using CheckVectorOperands which converts one of operand to the type of another. In https://reviews.llvm.org/D21678 it was fixed by using checkVectorShift instead. As result clang does not emit error if shift operands have different element sizes (bat gcc does).


Repository:
  rL LLVM

https://reviews.llvm.org/D24669





More information about the cfe-commits mailing list