about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-10 20:37:55 +0000
committerbors <bors@rust-lang.org>2023-10-10 20:37:55 +0000
commitd627cf07ce46d230a93732a4714d16f00df9466b (patch)
tree791010467be467be275e7532b173388e006c62f1 /compiler/rustc_codegen_llvm/src/errors.rs
parentc30b28bdc17f1da73515afa0886f0d4f55c76e1f (diff)
parent37f080edbc763f0add0552427d303b247055fc15 (diff)
downloadrust-d627cf07ce46d230a93732a4714d16f00df9466b.tar.gz
rust-d627cf07ce46d230a93732a4714d16f00df9466b.zip
Auto merge of #113915 - cjgillot:ssa-call, r=tmiasko
Also consider call and yield as MIR SSA.

The SSA analysis on MIR only considered `Assign` statements as defining a SSA local.
This PR adds assignments as part of a `Call` or `Yield` terminator in that category.

This mainly allows to perform CopyProp on a call return place.

The only subtlety is in the dominance property: the assignment is only complete at the beginning of the target block.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions