[all-commits] [llvm/llvm-project] e1eacf: [InstCombine] Fold freeze into phi if one operand ...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Mon Jul 27 01:08:21 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e1eacf27c6f4ba82b8da34e62f62b44b81ffa316
https://github.com/llvm/llvm-project/commit/e1eacf27c6f4ba82b8da34e62f62b44b81ffa316
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/freeze-phi.ll
Log Message:
-----------
[InstCombine] Fold freeze into phi if one operand is not undef
This patch adds folding freeze into phi if it has only one operand to target.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D84601
More information about the All-commits
mailing list