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

[DAGCombiner] When combining (sext_inreg (zext X), VT) -> (sext X) don't pass...

[DAGCombiner] When combining (sext_inreg (zext X), VT) -> (sext X) don't pass along the sext_inreg VT.

ISD::SIGN_EXTEND is only supposed to have one operand, but we
were creating it with 2 operands.

Since we basically never check for extra operands this went
unnoticed.
parent 9d910b10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment