aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-06-09 17:07:15 +0200
committerNikita Popov <npopov@redhat.com>2023-06-12 12:01:29 +0200
commit5c6ff3a6025570479da5b72fcd02ca93b470683b (patch)
tree26fea44f173af36631df650455e65ba694e8c055 /clang/lib/CodeGen/CodeGenFunction.cpp
parentea20f339d91f57694899c29198f2dfb41bf9a03a (diff)
downloadllvm-5c6ff3a6025570479da5b72fcd02ca93b470683b.zip
llvm-5c6ff3a6025570479da5b72fcd02ca93b470683b.tar.gz
llvm-5c6ff3a6025570479da5b72fcd02ca93b470683b.tar.bz2
[DAGCombine] Move setcc of freeze fold to brcond
This fold goes against the usual approach of pushing freeze into operands. The idea behind the fold is that if the setcc feeds into a brcond, the freeze can be dropped entirely. Move the fold to brcond, where we can remove the freeze directly. This ensures that there can be no infinite combine loops due to conflicting transforms. Differential Revision: https://reviews.llvm.org/D152544
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions