[all-commits] [llvm/llvm-project] 43e7d9: [InstCombine] Fold extractvalue of phi
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Sep 1 01:52:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43e7d9af1d319693b3302560b447366ba359f1a2
https://github.com/llvm/llvm-project/commit/43e7d9af1d319693b3302560b447366ba359f1a2
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-09-01 (Thu, 01 Sep 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/phi-extractvalue.ll
Log Message:
-----------
[InstCombine] Fold extractvalue of phi
Just as we do for most other operations, we should push
extractvalue instructions through phis, if this does not increase
unfolded instruction count.
More information about the All-commits
mailing list