Displaying 1 result from an estimated 1 matches for "reg1459".
Did you mean:
reg1059
2009 Jan 29
2
[LLVMdev] undefs in phis
Ok, I understand a bit more of what's going on in my phi example.
Coming into DAGtoDAG we have this code:
bb74:
x = phi(1.0:bb134, %r1450:bb108)
y = phi(undef:bb134, x:bb108)
[...]
bb108:
%r1450 = <expr>
After DAGtoDAG we have:
bb134:
%reg1459 = IMPLICIT_DEF
%reg1458 = 1.0
bb74:
%reg1176 = phi(%reg1458:bb134, %reg1253:bb108)
%reg1177 = phi(%reg1459:bb134, %reg1176:bb108)
[...]
bb108:
%reg1253 = <expr>
So far so good, though the IMPLICIT_DEF is worrisome. I'm guessing that's
what causes problems later.
After ph...