Skip to content
Unverified Commit 123993fd authored by Han-Kuan Chen's avatar Han-Kuan Chen Committed by GitHub
Browse files

[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: default avatarAlexey Bataev <a.bataev@gmx.com>
parent 90c01f4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment