Skip to content
Commit 8cc9059c authored by Andrea Di Biagio's avatar Andrea Di Biagio
Browse files

[InstCombine][X86] Teach how to fold calls to SSE2/AVX2 packed logical shift

right intrinsics.

A packed logical shift right with a shift count bigger than or equal to the
element size always produces a zero vector. In all other cases, it can be
safely replaced by a 'lshr' instruction.

llvm-svn: 207299
parent 8d039e44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment