[all-commits] [llvm/llvm-project] 32088f: [ConstantFolding] Fold freeze if it is never undef...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Sun Jul 26 05:55:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 32088f4f7fc734474d1249d288a34894a4e901a9
https://github.com/llvm/llvm-project/commit/32088f4f7fc734474d1249d288a34894a4e901a9
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-07-26 (Sun, 26 Jul 2020)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Analysis/ConstantFolding/freeze.ll
Log Message:
-----------
[ConstantFolding] Fold freeze if it is never undef or poison
This is a simple patch that adds constant folding for freeze
instruction.
IIUC, it isn't needed to update ConstantFold.cpp because there is no freeze
constexpr.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D84597
More information about the All-commits
mailing list