diff options
author | Nikita Popov <npopov@redhat.com> | 2022-12-21 15:41:54 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-12-21 15:55:44 +0100 |
commit | 79068275e7c99dfcc1bf17421b591312f775fa16 (patch) | |
tree | a1cb901e297181477a7ae2030abf2cee51947cd7 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 561ee10a258b1d39fc34a9d85eee14a776720acf (diff) | |
download | llvm-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/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions