[InstCombine][XOP] The instructions for the scalar frcz intrinsics are defined to...
authorCraig Topper <craig.topper@gmail.com>
Sun, 11 Dec 2016 22:32:38 +0000 (22:32 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 11 Dec 2016 22:32:38 +0000 (22:32 +0000)
commit7fc6d34ed1fce99505713c5b09b3701aaac9d60e
treee6b521e82fdf3fec5b26e8adf13a8dbcb9c78c03
parent3f530938f6a1b40437abedf7aa89e0c7e82b827b
[InstCombine][XOP] The instructions for the scalar frcz intrinsics are defined to put 0 in the upper bits, not pass bits through like other intrinsics. So we should return a zero vector instead.

llvm-svn: 289411
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
llvm/test/Transforms/InstCombine/x86-xop.ll