At this point tryCombine*() in the existing combiners takes a single MI argument.
Depends on D81889
Paths 
  |  Differential  D81899  
[gicombiner] Unify common state for current targets into CommonTargetCombinerHelperState Needs RevisionPublic Authored by dsanders on Jun 15 2020, 5:31 PM. 
Details 
Diff Detail 
 Event Timeline
 dsanders added inline comments. 
 
 
 
 
 This revision now requires changes to proceed.Aug 17 2023, 3:51 PM 
Revision Contents 
 
 
Diff 270927 llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
 llvm/include/llvm/Target/GlobalISel/Combine.td
 llvm/lib/Target/AArch64/AArch64Combine.td
 llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
 llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
 llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
 llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
 llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
 llvm/utils/TableGen/GICombinerEmitter.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I've been trying to sort out the relationship between MachineIRBuilder, *Helper, and observers recently. What is the relationship between the builder and observer here? Is it expected the builder contains this observer, or is this observer expected to also be an observer in the builder?