1 Commits

Author SHA1 Message Date
Kaitlin Peng
720007e4b7
[NFC] [SPIRV] Add SPIRVCombinerHelper and refactor pre legalizer combiner to use it (#162735)
Lots of the code/structure was based off `AMDGPUCombinerHelper`,
`AMDGPUPreLegalizerCombiner`, etc.

Tasks completed:
- Create new `SPIRVCombinerHelper` inheriting from `CombinerHelper`
- Move combiner logic in `SPIRVPreLegalizerCombiner` to helper methods
in `SPIRVCombinerHelper`
- Update `SPIRVPreLegalizerCombiner` to use the new helper class
- Simplify `applySPIRVDistance` code
2025-10-11 09:29:07 +09:00