https://bugs.freedesktop.org/show_bug.cgi?id=103031

--- Comment #1 from Roland Scheidegger <srol...@vmware.com> ---
Created attachment 134554
  --> https://bugs.freedesktop.org/attachment.cgi?id=134554&action=edit
patch accounting for llvm nuked pabs intrinsics

Does this patch work?
I'm also changing the non-intrinsic definition of pabs to basically match what
the auto-upgrader would do (if it would actually work for us...), so that llvm
should be able to hopefully match that back to a pabs in the end (albeit the
cmp/select has additional sext/trunc - I hope that doesn't matter...) - the old
code would have used a max, which would have to be decomposed into a cmp/select
too with newer llvm versions but it would have used select(cmp(greater, a,
neg(a))) instead of select(cmp(greater, a, 0), neg(a)). Not sure if that would
also get fused to a pabs instruction in the end...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to