diff options
author | Eli Friedman <efriedma@quicinc.com> | 2024-05-28 20:47:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 20:47:49 -0700 |
commit | cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75 (patch) | |
tree | ce3fefbb7b277f63ba5c95eb9dc4bb8f3ea02c9e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c250aeb9d6c590d9fdbebd84fc259c4e536dace9 (diff) | |
download | llvm-cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75.zip llvm-cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75.tar.gz llvm-cbf6e93ceee7b9de2b7c3e7e8cea3a972eda0e75.tar.bz2 |
[clang codegen] Delete unnecessary GEP cleanup code. (#90303)
There's some code in AggExprEmitter::VisitCXXParenListOrInitListExpr to
try to do early cleanup for GEPs for fields that aren't accessed. But
it's unlikely to actually save significant compile-time, and it's subtly
wrong in cases where EmitLValueForFieldInitialization() doesn't create a
GEP. So just delete the code.
Fixes #88077. Fixes #89547.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions