[clang] [compiler-rt] [clang][UBSan] Add implicit conversion check for bitfields (PR #75481)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 14:24:44 PDT 2024


================
@@ -5571,11 +5571,52 @@ LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) {
       break;
     }
 
-    RValue RV = EmitAnyExpr(E->getRHS());
+    llvm::Value *Previous = nullptr;
----------------
efriedma-quic wrote:

Can we de-duplicate this code with the corresponding code in CGExprScalar, similar to the way EmitCompoundAssignmentLValue works?

https://github.com/llvm/llvm-project/pull/75481


More information about the cfe-commits mailing list