search for: move_flag

Displaying 1 result from an estimated 1 matches for "move_flag".

2016 Feb 01
2
TableGen customized node with mayStore attribute is deleted if there is no use
...will not be deleted. However, it does not work like I assume. There must be something wrong. But I don't know it's because this trick does not work in theory or it's because my implementation is wrong. def MoveTy : SDTypeProfile<1, 1, []>; def MoveFlag : SDNode<"FOOISD::MOVE_FLAG", MoveTy, [SDNPHasChain, SDNPSideEffect, SDNPMayStore, SDNPMayLoad]>; let hasSideEffects = 1, mayStore = 1, mayLoad = 1 in { def MOVE : InstFOO<(outs ARegs:$dst), (ins BRegs:$src), "move $dst, $src", [(set i32:$dst, (MoveFlag i32:$src))...