[PATCH] D78098: [CGExprAgg] Fix infinite loop in `findPeephole`
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 14 12:24:44 PDT 2020
rjmccall added inline comments.
================
Comment at: clang/lib/CodeGen/CGExprAgg.cpp:688
+
+ op = castE;
}
----------------
I liked the structure of the old code better, in case we want to look through other kinds of expressions. Please just add `op = castE->getSubExpr()` before the `continue`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78098/new/
https://reviews.llvm.org/D78098
More information about the cfe-commits
mailing list