Skip to content
Commit 1da22c32 authored by Craig Topper's avatar Craig Topper
Browse files

[InstSimplify] Use m_APInt instead of m_ConstantInt in ((V + N) & C1) | (V &...

[InstSimplify] Use m_APInt instead of m_ConstantInt in ((V + N) & C1) | (V & C2) handling in order to support splat vectors.

The tests here are have operands commuted to provide more coverage. I also commuted one of the instructions in the scalar tests so the 4 tests cover the 4 commuted variations

Differential Revision: https://reviews.llvm.org/D33599

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