aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-12-21 15:41:54 +0100
committerNikita Popov <npopov@redhat.com>2022-12-21 15:55:44 +0100
commit79068275e7c99dfcc1bf17421b591312f775fa16 (patch)
treea1cb901e297181477a7ae2030abf2cee51947cd7 /llvm/lib/CodeGen/MachineFunction.cpp
parent561ee10a258b1d39fc34a9d85eee14a776720acf (diff)
downloadllvm-79068275e7c99dfcc1bf17421b591312f775fa16.zip
llvm-79068275e7c99dfcc1bf17421b591312f775fa16.tar.gz
llvm-79068275e7c99dfcc1bf17421b591312f775fa16.tar.bz2
[InstCombine] Recursively replace select value equivalence
In the X == C ? f(X) : Y -> X == C ? f(C) : Y fold, perform the replacement in f(X) recursively. For now, this just goes two instructions up rather than one instruction up.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions