Skip to content
Commit 0a1a276d authored by Craig Topper's avatar Craig Topper
Browse files

[InstCombine] Teach canEvaluateZExtd and canEvaluateTruncated to handle vector...

[InstCombine] Teach canEvaluateZExtd and canEvaluateTruncated to handle vector shifts with splat shift amount

We were only allowing ConstantInt before. This patch allows splat of ConstantInt too.

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

llvm-svn: 310970
parent 61d71a13
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