llvm-beanz wrote: > ExprConstant.cpp currently assumes that an CK_HLSLVectorTruncation can't > return a scalar type.
Thank you for catching this! I've updated the PR and included a test that constant evaluates some vector truncations in static asserts. https://github.com/llvm/llvm-project/pull/104844 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits