diff options
author | Han-Kuan Chen <hankuan.chen@sifive.com> | 2025-04-16 00:08:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-16 00:08:59 +0800 |
commit | d41e517748e2dbb51e27bed217f3dd7a4c4fb86f (patch) | |
tree | 5e55a6e23a234d88bf6497820bf831c064249322 /llvm/lib/Support/ProgramStack.cpp | |
parent | 289baf1f42c8b5773271b611cd235d4ab94bb4e8 (diff) | |
download | llvm-d41e517748e2dbb51e27bed217f3dd7a4c4fb86f.zip llvm-d41e517748e2dbb51e27bed217f3dd7a4c4fb86f.tar.gz llvm-d41e517748e2dbb51e27bed217f3dd7a4c4fb86f.tar.bz2 |
[SLP] Make getSameOpcode support interchangeable instructions. (#135797)
We use the term "interchangeable instructions" to refer to different
operators that have the same meaning (e.g., `add x, 0` is equivalent to
`mul x, 1`).
Non-constant values are not supported, as they may incur high costs with
little benefit.
---------
Co-authored-by: Alexey Bataev <a.bataev@gmx.com>
Diffstat (limited to 'llvm/lib/Support/ProgramStack.cpp')
0 files changed, 0 insertions, 0 deletions