Skip to content
Commit 239ab16e authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[X86] combineCMP - attempt to simplify KSHIFTR mask element extractions when...

[X86] combineCMP - attempt to simplify KSHIFTR mask element extractions when just comparing against zero

We can just bitcast the pre-shifted mask as an integer and use TEST/BT directly.

This can be extended further to better handle sub-i8 mask cases, but just getting rid of KSHIFTR nodes makes a notable difference.
parent e8af2473
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment