search for: predicated_fadd

Displaying 2 results from an estimated 2 matches for "predicated_fadd".

Did you mean: predicated_add
2013 May 10
0
[LLVMdev] Predicated Vector Operations
...elect %mask, %y, <0.0, 0.0, 0.0 ...> %sum = fadd %tx, %ty %newvalue = select %mask, %sum, %oldvalue << From here? If you had a designated predicated instruction you would have the same issue. The %oldvalue has to come from somewhere (or be undefined). %oldval = ... | undef %newvalue = predicated_fadd %mask, %left, %right, %oldval I guess, I don’t understand your question. Instcombine might remove the select %mask, %sum, undef but that is another issue ...
2013 May 10
4
[LLVMdev] Predicated Vector Operations
Jeff Bush <jeffbush001 at gmail.com> writes: > Ah, I think I get it now. This was mentioned earlier in the thread, > but it didn't click at the time. It sounds like I can do instruction > selection with a pattern like (omitting selection of the sources): > > let Constraints = "$dst = $oldvalue" in { > def MASKEDARITH : MyInstruction< >