[AVX-512][InstCombine] Teach InstCombineCalls how to simplify demanded elements for...
authorCraig Topper <craig.topper@gmail.com>
Sun, 11 Dec 2016 07:42:01 +0000 (07:42 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 11 Dec 2016 07:42:01 +0000 (07:42 +0000)
commit790d0fa569cc43126313d30f4fc1a9b9e8d77977
treefab8102dd2c81da1542aa3f9208f9419c755b762
parentbf1d2edab22a6712e55c44c52efb87f37f86c203
[AVX-512][InstCombine] Teach InstCombineCalls how to simplify demanded elements for scalar add,div,mul,sub,max,min intrinsics with masking and rounding.

These intrinsics don't read the upper bits of their second input. And the third input is the passthru for masking and that only uses the lower element as well.

llvm-svn: 289370
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp