diff options
author | Han-Kuan Chen <hankuan.chen@sifive.com> | 2025-04-14 19:23:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-14 19:23:18 +0800 |
commit | 123993fd974629ca0a094918db4c21ad1c2624d0 (patch) | |
tree | ad68a286e42d34bd8905b3c86a96e70aaaa0e9a4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 90c01f4bad3132fcff4a73fb39efb64fe4c524b6 (diff) | |
download | llvm-123993fd974629ca0a094918db4c21ad1c2624d0.zip llvm-123993fd974629ca0a094918db4c21ad1c2624d0.tar.gz llvm-123993fd974629ca0a094918db4c21ad1c2624d0.tar.bz2 |
[SLP] Make getSameOpcode support interchangeable instructions. (#133888)
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 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions