================
@@ -1267,12 +1267,8 @@ bool Compiler<Emitter>::VisitVectorBinOp(const
BinaryOperator *E) {
assert(E->getLHS()->getType()->isVectorType());
assert(E->getRHS()->getType()->isVectorType());
- // FIXME: Current only support comparison binary operator, add support for
- // other binary operator.
- if (!E->isComparisonOp() && !E->isLogicalOp())
- return this->emitInvalid(E);
// Prepare storage for result.
- if (!Initializing) {
+ if (!Initializing || E->isCompoundAssignmentOp()) {
----------------
yronglin wrote:
I have updated the summary of this PR. This PR will create a temporary storage
for the compute result.
https://github.com/llvm/llvm-project/pull/108949
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits