https://bugs.llvm.org/show_bug.cgi?id=37506
Simon Pilgrim <llvm-...@redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed By Commit(s)| |0101fb73de71132bd5b25cfadc6
| |3974c692dbc5b
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Simon Pilgrim <llvm-...@redking.me.uk> ---
I'm going to resolve this - InstCombine will now expand MOVMSK intrinsics to a
generic bitcast(trunc(icmp_slt(x))) pattern that can be optimized much further,
and the backend does a good job of lowering such reduction patterns to PTEST
where appropriate.
In this case we still use MOVMSK as we can avoid the constant load and just
perform it as a CMP+MOVMSK; after 0101fb73de71132bd5b25cfadc63974c692dbc5b we
remove all ashr/icmp ops and just use MOVMSK to directly extract the signbits
of the loaded vectors.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs