dc03-work

Results comments of dc03-work

This seems reproducible on x86 clang as well, so I don't think its a backend issue: https://godbolt.org/z/8c8deKPzq.

Looks like this variable is only used within the `assert`: https://github.com/llvm/llvm-project/blob/main/llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp#L2419-L2428 ```c++ void GICombinerEmitter::emitTestSimplePredicate(raw_ostream &OS) { if (!AllCombineRules.empty()) { OS

> Can we just pull the increment out of the assert? That would also avoid the need for the void cast to silence unused warning From what I can see...

Looks like something weird is going wrong with InstructionSelect, it generates a store with the expected register class: ``` Erasing: G_STORE %15:gpr64(s64), %18:gpr(p0) :: (store (s64) into %ir.arrayidx275) Created: STRXroX...