[all-commits] [llvm/llvm-project] 692a14: [CGCall] Make findDominatingStoreToReturnValue() m...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Apr 8 06:18:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 692a147bf4339380ccfea7418cbedcea540cfaef
https://github.com/llvm/llvm-project/commit/692a147bf4339380ccfea7418cbedcea540cfaef
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
A clang/test/CodeGen/dominating-store-to-return.c
Log Message:
-----------
[CGCall] Make findDominatingStoreToReturnValue() more robust
This was skipping specific lifetime + bitcast patterns, but with
opaque pointers the bitcast will not be present, and we did not
perform this fold.
Instead skip over lifetime.end and bitcasts generally, without
trying to correlate them.
More information about the All-commits
mailing list