Open tschuett opened 3 months ago
We cannot express that an immediate is constant without committing to the value.
What do you mean? Is this about the distinction between imm/CImm?
I could replace $idx
by zero. But then I would have to copy-paste with 1, 2, 3, 4, ...
I am not interested, which value $idx
has as long as it is constant.
According to the Mir pattern guide immediates can be a named constant, i.e., 0 or 1. We cannot express that an immediate is constant without committing to the value.
This combine can only succeed, if
$idx
is constant.