Remerge after a revert: PR #10037: [NVIDIA XLA] Copy backend config for derived instruction that has same opcode
Remerge after a revert: PR #10037: [NVIDIA XLA] Copy backend config for derived instruction that has same opcode

Imported from GitHub PR https://github.com/openxla/xla/pull/10037

SetupDerivedInstruction copies many properties like frontend_attributes, metadata and etc, but it doesnt transfer over backend configs. If the derived instruction has the same opcode as the current one, the backend config is most likely applicable, this change copies over the backend config in that situation.
Copybara import of the project:

--
0c63d26478dacb9ddb68811c72287243fc60c374 by TJ <tjx@nvidia.com>:

Copy backend config for derived instruction that has same opcode


Merging this change closes #10037

Merging this change closes #10037

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/10037 from Tixxx:tixxx/derived_backend_config 0c63d26478dacb9ddb68811c72287243fc60c374
