[JumpThreading] Let SimplifyPartiallyRedundantLoad look into freeze
authorJuneyoung Lee <aqjune@gmail.com>
Fri, 31 Jul 2020 06:26:54 +0000 (15:26 +0900)
committerJuneyoung Lee <aqjune@gmail.com>
Fri, 31 Jul 2020 06:28:24 +0000 (15:28 +0900)
commitad48367722b23dd373e612c1c53b16290ae10194
treec6aa70ce2020941e06144695912e09353c7fb4d9
parent1cc210383b281e9c78ff82c129d01efb598eee15
[JumpThreading] Let SimplifyPartiallyRedundantLoad look into freeze

This patch allows SimplifyPartiallyRedundantLoad work when
the branch condition was frozen.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D84944
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/test/Transforms/JumpThreading/pre-load.ll