Hello, I am trying to extract the regsiter uses in instructions using note_uses function. When encountering the following instruction I do not get r479 as a use; seemingly because of the following in note_use function:
if (GET_CODE (dest) == ZERO_EXTRACT) { (*fun) (&XEXP (dest, 1), data); (*fun) (&XEXP (dest, 2), data); } the instruction: (insn 386 385 387 16 (set (zero_extract:SI (reg:SI 479) (const_int 16 [0x10]) (const_int 16 [0x10])) (const_int 4112 [0x1010])) 343 {*arm_movtas_ze} (nil)) I appreciate any advise of how to resolve this -- should I add (*fun) (&XEXP (dest, 0), data); ? Thanks, Revital