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

[LegalizeTypes] Remove unnecessary type action check on the type of operand 0...

[LegalizeTypes] Remove unnecessary type action check on the type of operand 0 when promoting shift result type. NFC

Operand 0 should have the same type of the result. So if the result type needs to be promoted, operand 0 needs to be promoted unconditionally.

llvm-svn: 329883
parent 10e590e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment