[llvm] [GlobalIsel] Combine G_EXTRACT_VECTOR_ELT (PR #85321)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 15:20:03 PDT 2024


https://github.com/aemerson commented:

We should avoid unnecessarily calling `getOpcodeDef()` on a register. Instead do a lookup of the def once with `getDefIgnoringCopies()` and then use `dyn_cast<G

https://github.com/llvm/llvm-project/pull/85321


More information about the llvm-commits mailing list