svenvh added inline comments.
================ Comment at: clang/test/CodeGenOpenCL/vector_literals.cl:71 + // CHECK: extractelement <2 x i32> %{{[0-9]+}}, i64 0 + unsigned int withCast = ((int2)((int2)(12, 34))).s0; +} ---------------- Anastasia wrote: > I wonder if both `(int2)` are needed i.e. the cast one could be ommitted? The cast is actually necessary, because the fix is in the code that handles the cast (`case CK_BitCast` if you expand the code above my change). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D95135/new/ https://reviews.llvm.org/D95135 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits