Skip to content
Commit e8b8b773 authored by Chad Rosier's avatar Chad Rosier
Browse files

When materializing an i32, SExt vs ZExt doesn't matter when we're trying to fit

in a 16-bit immediate.  However, for the shorter non-legal types (i.e., i1, i8,
i16) we should not sign-extend.  This prevents us from materializing things
such as 'true' (i.e., i1 1).

llvm-svn: 143743
parent 21079cad
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