Skip to content
Commit be36f5cc authored by Dan Gohman's avatar Dan Gohman
Browse files

When transforming sext(trunc(load(x))) into sext(smaller load(x)),

the trunc is directly replaced with the smaller load, so don't
try to create a new sext node. This fixes PR4050.

llvm-svn: 70179
parent 669e32f8
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