diff options
author | Juneyoung Lee <aqjune@gmail.com> | 2020-07-26 21:54:44 +0900 |
---|---|---|
committer | Juneyoung Lee <aqjune@gmail.com> | 2020-07-26 21:54:44 +0900 |
commit | 32088f4f7fc734474d1249d288a34894a4e901a9 (patch) | |
tree | 13b0863190ca619f54277679d1ebb411d4c3db40 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 9f074214b7a3bc9d88caadbf7bd6116305977a4e (diff) | |
download | llvm-32088f4f7fc734474d1249d288a34894a4e901a9.zip llvm-32088f4f7fc734474d1249d288a34894a4e901a9.tar.gz llvm-32088f4f7fc734474d1249d288a34894a4e901a9.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions