Skip to content
Commit 9226ba6b authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Don't turn avx masked.load with constant mask into masked.load+vselect...

[X86] Don't turn avx masked.load with constant mask into masked.load+vselect when passthru value is all zeroes.

This is intended to enable the use of an immediate blend or
more optimal instruction. But if the passthru is zero we don't
need any additional instructions.

llvm-svn: 362675
parent cf443721
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment