Skip to content
Commit 75d33a3a authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[InstCombine] FoldShiftByConstant - consistently use ConstantExpr in...

[InstCombine] FoldShiftByConstant - consistently use ConstantExpr in logicalshift(trunc(shift(x,c1)),c2) fold. NFCI.

This still only gets used for scalar types but now always uses ConstantExpr in preparation for vector support - it was using APInt methods in some places.
parent 8a3cbb15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment