[all-commits] [llvm/llvm-project] 952d4b: [CIR] Fix assignment ignore in ScalarExprEmitter (...
Morris Hafner via All-commits
all-commits at lists.llvm.org
Tue Nov 4 19:35:33 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 952d4b4c0bc959afe6bf18a7550fab024ab5a9b8
https://github.com/llvm/llvm-project/commit/952d4b4c0bc959afe6bf18a7550fab024ab5a9b8
Author: Morris Hafner <mmha at users.noreply.github.com>
Date: 2025-11-05 (Wed, 05 Nov 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/CodeGen/CIRGenFunction.h
M clang/test/CIR/CodeGen/binassign.c
Log Message:
-----------
[CIR] Fix assignment ignore in ScalarExprEmitter (#166118)
We are missing a couple of cases were we are not supposed to ignore
assignment results but did so, which results in compiler crashes. Fix
that.
Also start ignoring IgnoredExprs unless there's side effects (assignments) inside.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list